Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
static-ci
·
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
陈峰
8 years ago
Commit
430a2b7100583c8fdcd8e4fbc0284503c7b685a5
1 parent
7deee611
sourcemap header
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
apps/api/actions/source-map.js
apps/api/actions/source-map.js
View file @
430a2b7
...
...
@@ -23,6 +23,7 @@ r.get('/load', (ctx, next) => {
const
fileName
=
path
.
basename
(
filePath
)
ctx
.
set
(
'Content-Type'
,
'application/javascript; charset=utf-8'
);
ctx
.
set
(
'SourceMap'
,
'1'
);
ctx
.
response
.
body
=
rs
;
return
;
}
...
...
Please
register
or
login
to post a comment