mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
fix(join) regexp: ":" -> "(:|/)"
This commit is contained in:
parent
8ed21dd853
commit
383a06d9a4
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@
|
|||
exec = Util.exec,
|
||||
read = exec.with(readPipe, req, res),
|
||||
path = ponse.getPathName(req),
|
||||
regExp = new RegExp('^' + PREFIX + ':'),
|
||||
regExp = new RegExp('^' + PREFIX + '(:|/)'),
|
||||
regExpFile = new RegExp('^' + PREFIX + '/join.js$'),
|
||||
isJoin = path.match(regExp),
|
||||
isJoinFile = path.match(regExpFile);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue