Skip to content

Commit

Permalink
chore: update dummy tilde server for issue #28
Browse files Browse the repository at this point in the history
  • Loading branch information
phra committed Jul 13, 2019
1 parent 400d6a5 commit 02e090a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion examples/tilde-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@ app.all("/*", function (req, res) {
case "web~1.co%3f":
case "web~1.con":
case "web.config":
case "webc*~1*":
case "webco*~1*":
case "webcon~1*":
case "webcon~1.%3f%3f%3f":
case "webcon~1.o%3f%3f":
case "webcon~1.ol%3f":
case "webcon~1.old":
case "web.config.old":
res.status(404).send();
break
default:
Expand All @@ -24,4 +32,3 @@ app.all("/*", function (req, res) {
app.listen(3000, function () {
console.log("Example app listening on port 3000!");
});

0 comments on commit 02e090a

Please sign in to comment.