Feature: extend server routes to support multiple methods (#9207)

This commit is contained in:
Saq Imtiaz
2025-10-10 12:37:09 +01:00
committed by GitHub
parent 97824cc3a3
commit 58e41ee0ad
11 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ DELETE /recipes/default/tiddlers/:title
\*/
"use strict";
exports.method = "DELETE";
exports.methods = ["DELETE"];
exports.path = /^\/bags\/default\/tiddlers\/(.+)$/;
+1 -1
View File
@@ -8,7 +8,7 @@ GET /favicon.ico
\*/
"use strict";
exports.method = "GET";
exports.methods = ["GET"];
exports.path = /^\/favicon.ico$/;
+1 -1
View File
@@ -8,7 +8,7 @@ GET /files/:filepath
\*/
"use strict";
exports.method = "GET";
exports.methods = ["GET"];
exports.path = /^\/files\/(.+)$/;
+1 -1
View File
@@ -8,7 +8,7 @@ GET /
\*/
"use strict";
exports.method = "GET";
exports.methods = ["GET"];
exports.path = /^\/$/;
+1 -1
View File
@@ -8,7 +8,7 @@ GET /login-basic -- force a Basic Authentication challenge
\*/
"use strict";
exports.method = "GET";
exports.methods = ["GET"];
exports.path = /^\/login-basic$/;
+1 -1
View File
@@ -8,7 +8,7 @@ GET /status
\*/
"use strict";
exports.method = "GET";
exports.methods = ["GET"];
exports.path = /^\/status$/;
@@ -8,7 +8,7 @@ GET /:title
\*/
"use strict";
exports.method = "GET";
exports.methods = ["GET"];
exports.path = /^\/([^\/]+)$/;
+1 -1
View File
@@ -8,7 +8,7 @@ GET /recipes/default/tiddlers/:title
\*/
"use strict";
exports.method = "GET";
exports.methods = ["GET"];
exports.path = /^\/recipes\/default\/tiddlers\/(.+)$/;
@@ -10,7 +10,7 @@ GET /recipes/default/tiddlers.json?filter=<filter>
var DEFAULT_FILTER = "[all[tiddlers]!is[system]sort[title]]";
exports.method = "GET";
exports.methods = ["GET"];
exports.path = /^\/recipes\/default\/tiddlers.json$/;
+1 -1
View File
@@ -8,7 +8,7 @@ PUT /recipes/default/tiddlers/:title
\*/
"use strict";
exports.method = "PUT";
exports.methods = ["PUT"];
exports.path = /^\/recipes\/default\/tiddlers\/(.+)$/;