Update customBare.mjs
This commit is contained in:
parent
d27d3a4e9f
commit
c2a38fd7d6
1 changed files with 4 additions and 1 deletions
|
|
@ -92,7 +92,7 @@ async function fetchBare(url, res, req) {
|
|||
}
|
||||
}
|
||||
|
||||
async function route(req, res) {
|
||||
function route(req, res) {
|
||||
var path = req.url;
|
||||
|
||||
if (isBare(req,res)) {
|
||||
|
|
@ -105,6 +105,9 @@ async function route(req, res) {
|
|||
|
||||
fetchBare(url, res, req);
|
||||
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue