1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2026-03-16 20:59:51 +00:00

server remove blks

This commit is contained in:
pmario
2023-07-07 23:20:08 +02:00
parent 9c9d320d37
commit fc1ad4173e
10 changed files with 0 additions and 30 deletions

View File

@@ -6,7 +6,6 @@ module-type: route
DELETE /recipes/default/tiddlers/:title
\*/
(function() {
/*jslint node: true, browser: true */
/*global $tw: false */
@@ -24,5 +23,3 @@ exports.handler = function(request,response,state) {
});
response.end();
};
}());

View File

@@ -6,7 +6,6 @@ module-type: route
GET /favicon.ico
\*/
(function() {
/*jslint node: true, browser: true */
/*global $tw: false */
@@ -20,5 +19,3 @@ exports.handler = function(request,response,state) {
var buffer = state.wiki.getTiddlerText("$:/favicon.ico","");
state.sendResponse(200,{"Content-Type": "image/x-icon"},buffer,"base64");
};
}());

View File

@@ -6,7 +6,6 @@ module-type: route
GET /files/:filepath
\*/
(function() {
/*jslint node: true, browser: true */
/*global $tw: false */
@@ -44,5 +43,3 @@ exports.handler = function(request,response,state) {
state.sendResponse(404,{"Content-Type": "text/plain"},"File '" + suppliedFilename + "' not found");
}
};
}());

View File

@@ -6,7 +6,6 @@ module-type: route
GET /
\*/
(function() {
/*jslint node: true, browser: true */
/*global $tw: false */
@@ -23,5 +22,3 @@ exports.handler = function(request,response,state) {
};
state.sendResponse(200,responseHeaders,text);
};
}());

View File

@@ -6,7 +6,6 @@ module-type: route
GET /login-basic -- force a Basic Authentication challenge
\*/
(function() {
/*jslint node: true, browser: true */
/*global $tw: false */
@@ -32,5 +31,3 @@ exports.handler = function(request,response,state) {
response.end();
}
};
}());

View File

@@ -6,7 +6,6 @@ module-type: route
GET /status
\*/
(function() {
/*jslint node: true, browser: true */
/*global $tw: false */
@@ -29,5 +28,3 @@ exports.handler = function(request,response,state) {
});
state.sendResponse(200,{"Content-Type": "application/json"},text,"utf8");
};
}());

View File

@@ -6,7 +6,6 @@ module-type: route
GET /:title
\*/
(function() {
/*jslint node: true, browser: true */
/*global $tw: false */
@@ -40,5 +39,3 @@ exports.handler = function(request,response,state) {
response.end();
}
};
}());

View File

@@ -6,7 +6,6 @@ module-type: route
GET /recipes/default/tiddlers/:title
\*/
(function() {
/*jslint node: true, browser: true */
/*global $tw: false */
@@ -42,5 +41,3 @@ exports.handler = function(request,response,state) {
response.end();
}
};
}());

View File

@@ -6,7 +6,6 @@ module-type: route
GET /recipes/default/tiddlers.json?filter=<filter>
\*/
(function() {
/*jslint node: true, browser: true */
/*global $tw: false */
@@ -46,5 +45,3 @@ exports.handler = function(request,response,state) {
var text = JSON.stringify(tiddlers);
state.sendResponse(200,{"Content-Type": "application/json"},text,"utf8");
};
}());

View File

@@ -6,7 +6,6 @@ module-type: route
PUT /recipes/default/tiddlers/:title
\*/
(function() {
/*jslint node: true, browser: true */
/*global $tw: false */
@@ -48,5 +47,3 @@ exports.handler = function(request,response,state) {
});
response.end();
};
}());