mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-26 09:24:07 +00:00
refactor(main) MOVED_PERMANENTLY
This commit is contained in:
parent
9ee9211ae0
commit
109e412ae7
1 changed files with 2 additions and 1 deletions
|
|
@ -13,7 +13,7 @@
|
|||
ext,
|
||||
path, fs, zlib, url, pipe,
|
||||
|
||||
OK, FILE_NOT_FOUND, MOVED_PERMANENTLY = 301,
|
||||
OK, FILE_NOT_FOUND, MOVED_PERMANENTLY,
|
||||
REQUEST, RESPONSE,
|
||||
|
||||
Config = {
|
||||
|
|
@ -25,6 +25,7 @@
|
|||
/* Consts */
|
||||
|
||||
exports.OK = OK = 200;
|
||||
MOVED_PERMANENTLY = 301;
|
||||
exports.FILE_NOT_FOUND = FILE_NOT_FOUND = 404;
|
||||
|
||||
exports.REQUEST = REQUEST = 'request';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue