Skip to content
This repository was archived by the owner on Apr 18, 2022. It is now read-only.

Commit 0ed64fa

Browse files
authored
typo issue fixed
1 parent 993b849 commit 0ed64fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ app.all('*', proxy(configFile.TARGET, {
118118
}
119119
return headers;
120120
},
121-
userResDecorator: function (proxyRes, proxyResData,Removing network userReq, userRes) {
121+
userResDecorator: function (proxyRes, proxyResData, userReq, userRes) {
122122
if (proxyRes.headers['content-type'].includes("text/html") && (proxyRes.statusCode >= 200 && proxyRes.statusCode < 400)) {
123123
const data = proxyResData.toString('utf8').replace(new RegExp(configFile.HTML_TAG_REPLACE, "g"), function (match) {
124124
return (match + '<link rel="stylesheet" type="text/css" href="/' + configFile.ENDPOINT_NAME + '">')

0 commit comments

Comments
 (0)