Commit d1ef00e3 authored by 万成波's avatar 万成波

修改配置

parent 91722911
......@@ -95,8 +95,8 @@ spring:
# 企业微信配置
wx:
cp:
pc-redirect-url: https://wecom.jift.edu.cn/bbs/pc/wechatlogin
mobile-redirect-url: https://wecom.jift.edu.cn/bbs/h5/pages/login/login
pc-redirect-url: https://forum.jift.edu.cn/wechatlogin
mobile-redirect-url: https://forum.jift.edu.cn/h5/pages/login/login
corp-id: wxd2a84aa7529d3801
app-configs:
- name: '移动端应用配置'
......
......@@ -5,4 +5,4 @@ VUE_APP_TITLE = 一站式江服社区
ENV = 'production'
# 若依管理系统/生产环境
VUE_APP_BASE_API = '/bbs/prod-api'
VUE_APP_BASE_API = '/prod-api'
......@@ -182,7 +182,7 @@ Router.prototype.replace = function push(location) {
}
export default new Router({
base:'/bbs/pc',
base:'/',
mode: 'history', // 去掉url中的#
scrollBehavior: () => ({ y: 0 }),
routes: constantRoutes
......
......@@ -18,7 +18,7 @@ module.exports = {
// 部署生产环境和开发环境下的URL。
// 默认情况下,Vue CLI 会假设你的应用是被部署在一个域名的根路径上
// 例如 https://www.ruoyi.vip/。如果应用被部署在一个子路径上,你就需要用这个选项指定这个子路径。例如,如果你的应用被部署在 https://www.ruoyi.vip/admin/,则设置 baseUrl 为 /admin/。
publicPath: process.env.NODE_ENV === "production" ? "/bbs/pc" : "/",
publicPath: process.env.NODE_ENV === "production" ? "/" : "/",
// 在npm run build 或 yarn build 时 ,生成文件的目录名称(要和baseUrl的生产环境路径一致)(默认dist)
outputDir: 'dist',
// 用于放置生成的静态资源 (js、css、img、fonts) 的;(项目打包之后,静态资源会放在这个文件夹下)
......
......@@ -10,7 +10,7 @@ const CONFIG = {
production: {
debug: false,
platformName: '社区',
requestUrl: '/bbs/prod-api',
requestUrl: '/prod-api',
videoLimitSize:10
}
......
......@@ -72,7 +72,7 @@
"h5" : {
"router" : {
"mode" : "history",
"base" : "/bbs/h5/"
"base" : "/h5/"
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment