Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohoblk-wap
·
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
陈峰
7 years ago
Commit
8f60060932a94fde2ca1fc5c07180c16e1d796d7
1 parent
6e8e192e
remove cache
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletions
dev-wrk.js
doraemon/middleware/ssr.js
dev-wrk.js
0 → 100644
View file @
8f60060
const
rp
=
require
(
'request-promise'
);
setInterval
(()
=>
{
rp
.
get
(
'https://m.yohoblk.com/channel'
);
},
2100
);
...
...
doraemon/middleware/ssr.js
View file @
8f60060
...
...
@@ -155,7 +155,7 @@ module.exports = async (app) => {
_
.
each
(
routes
,
r
=>
{
if
(
!
r
.
disable
)
{
app
.
get
(
r
.
route
,
ssrRender
({
cache
:
r
.
cach
e
cache
:
fals
e
}));
}
});
...
...
Please
register
or
login
to post a comment