Commit 3b739d89 authored by huanglu's avatar huanglu

feat: 初始化教学管理项目

parent 657c077c
.DS_Store
node_modules
/dist
plugins/*
/teaching_admin
# local env files
.env.local
......
......@@ -16,6 +16,6 @@ module.exports = {
proxy: {
...agentList
},
publicPath: '/jy',
outputDir: 'jy'
publicPath: '/teaching_admin',
outputDir: 'teaching_admin'
}
......@@ -24,7 +24,7 @@ const multiPages = () => {
const configProxy = (proxy) => {
const uris = Object.keys(proxy)
const proxys = uris.map(uri => ({
[uri]: {
[`/api${[uri]}`]: {
...proxy[uri],
changeOrigin: true,
bypass: (req, res) => {
......
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