Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
teaching_admin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
huanglu
teaching_admin
Commits
3b739d89
Commit
3b739d89
authored
Sep 09, 2020
by
huanglu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 初始化教学管理项目
parent
657c077c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
5 deletions
+4
-5
.gitignore
.gitignore
+1
-2
index.js
config/index.js
+2
-2
util.js
config/util.js
+1
-1
No files found.
.gitignore
View file @
3b739d89
.DS_Store
node_modules
/dist
plugins/*
/teaching_admin
# local env files
.env.local
...
...
config/index.js
View file @
3b739d89
...
...
@@ -16,6 +16,6 @@ module.exports = {
proxy
:
{
...
agentList
},
publicPath
:
'/
jy
'
,
outputDir
:
'
jy
'
publicPath
:
'/
teaching_admin
'
,
outputDir
:
'
teaching_admin
'
}
config/util.js
View file @
3b739d89
...
...
@@ -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
)
=>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment