UNPKG
catproxy
Version:
latest (1.2.16)
1.2.16
1.2.15
1.2.14
1.2.13
1.2.12
1.2.11
1.2.10
1.2.9
1.2.8
1.2.7
1.2.6
1.2.5
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.1.1
1.1.0
1.0.0
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
a node proxy or host change tools
github.com/jianxcao/catproxy
jianxcao/catproxy
catproxy
/
build
/
web
/
404.js
12 lines
(10 loc)
•
231 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
'use strict'
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
exports
.
default
=
function
(
req, res
) { res.
status
(
404
); res.
render
(
'404'
, {
message
:
'没有找到路径, 文件路径,'
+ req.
originalUrl
}); };