Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
Dui123
Project
Project
Details
Activity
Releases
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
王天宇
Dui123
Commits
955eabf8
Commit
955eabf8
authored
Oct 27, 2021
by
wty
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改服务器启动代码1
parent
0b8abee9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
app.js
server/app.js
+0
-2
No files found.
server/app.js
View file @
955eabf8
...
...
@@ -5,7 +5,6 @@ const logger = require('morgan');
const
bodyParser
=
require
(
'body-parser'
)
const
engines
=
require
(
'consolidate'
)
const
os
=
require
(
'os'
)
const
indexRouter
=
require
(
'./routes'
);
const
usersRouter
=
require
(
'./routes/users'
);
const
queryRouter
=
require
(
'./routes/query'
)
const
addRouter
=
require
(
'./routes/add'
)
...
...
@@ -13,7 +12,6 @@ const deleteRouter = require('./routes/delete')
const
updateRouter
=
require
(
'./routes/update'
)
const
submitRouter
=
require
(
'./routes/page'
)
const
typeManage
=
require
(
'./routes/typeManage'
)
const
Mysql
=
require
(
'./SQLPool'
)
const
app
=
express
();
global
.
domain
=
'http://'
+
os
.
networkInterfaces
()[
'eth0'
][
0
][
'address'
]
+
':3000'
...
...
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