Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
ccbikai(👎🏻🍜)
2017-05-08 15:19:30 +0800
Commit
a50b4135321d508e1e789cb34f534cae94acf08b
1 parent
61f9e72d
httpCtx 只需要一次
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
app.js
app.js
View file @
a50b413
...
...
@@ -65,9 +65,6 @@ const logger = global.yoho.logger;
// 访问域名层级
app
.
set
(
'subdomain offset'
,
3
);
// 添加请求上下文
app
.
use
(
global
.
yoho
.
httpCtx
());
app
.
use
(
global
.
yoho
.
hbs
({
extname
:
'.hbs'
,
defaultLayout
:
'layout'
,
...
...
Please
register
or
login
to post a comment