Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
ufo-app-web
·
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
杨延青
2019-07-24 10:59:39 +0800
Commit
1d533b31ceca93860c069eed66696a257b1ac99d
1 parent
8c3fc29b
fix ssr-api report
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
doraemon/middleware/ssr-api.js
doraemon/middleware/ssr-api.js
View file @
1d533b3
...
...
@@ -30,6 +30,10 @@ module.exports = async(req, res, next) => {
}
let
baseParams
;
let
reqParams
=
Object
.
assign
({},
req
.
query
,
req
.
body
);
req
.
route
=
{
path
:
req
.
path
};
res
.
set
({
'Cache-Control'
:
'no-cache'
,
...
...
Please
register
or
login
to post a comment