mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-08-06 22:04:19 +00:00
server remove blks
This commit is contained in:
parent
9c9d320d37
commit
fc1ad4173e
@ -6,7 +6,6 @@ module-type: route
|
|||||||
DELETE /recipes/default/tiddlers/:title
|
DELETE /recipes/default/tiddlers/:title
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function() {
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -24,5 +23,3 @@ exports.handler = function(request,response,state) {
|
|||||||
});
|
});
|
||||||
response.end();
|
response.end();
|
||||||
};
|
};
|
||||||
|
|
||||||
}());
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: route
|
|||||||
GET /favicon.ico
|
GET /favicon.ico
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function() {
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -20,5 +19,3 @@ exports.handler = function(request,response,state) {
|
|||||||
var buffer = state.wiki.getTiddlerText("$:/favicon.ico","");
|
var buffer = state.wiki.getTiddlerText("$:/favicon.ico","");
|
||||||
state.sendResponse(200,{"Content-Type": "image/x-icon"},buffer,"base64");
|
state.sendResponse(200,{"Content-Type": "image/x-icon"},buffer,"base64");
|
||||||
};
|
};
|
||||||
|
|
||||||
}());
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: route
|
|||||||
GET /files/:filepath
|
GET /files/:filepath
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function() {
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -44,5 +43,3 @@ exports.handler = function(request,response,state) {
|
|||||||
state.sendResponse(404,{"Content-Type": "text/plain"},"File '" + suppliedFilename + "' not found");
|
state.sendResponse(404,{"Content-Type": "text/plain"},"File '" + suppliedFilename + "' not found");
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
}());
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: route
|
|||||||
GET /
|
GET /
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function() {
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -23,5 +22,3 @@ exports.handler = function(request,response,state) {
|
|||||||
};
|
};
|
||||||
state.sendResponse(200,responseHeaders,text);
|
state.sendResponse(200,responseHeaders,text);
|
||||||
};
|
};
|
||||||
|
|
||||||
}());
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: route
|
|||||||
GET /login-basic -- force a Basic Authentication challenge
|
GET /login-basic -- force a Basic Authentication challenge
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function() {
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -32,5 +31,3 @@ exports.handler = function(request,response,state) {
|
|||||||
response.end();
|
response.end();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
}());
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: route
|
|||||||
GET /status
|
GET /status
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function() {
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -29,5 +28,3 @@ exports.handler = function(request,response,state) {
|
|||||||
});
|
});
|
||||||
state.sendResponse(200,{"Content-Type": "application/json"},text,"utf8");
|
state.sendResponse(200,{"Content-Type": "application/json"},text,"utf8");
|
||||||
};
|
};
|
||||||
|
|
||||||
}());
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: route
|
|||||||
GET /:title
|
GET /:title
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function() {
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -40,5 +39,3 @@ exports.handler = function(request,response,state) {
|
|||||||
response.end();
|
response.end();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
}());
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: route
|
|||||||
GET /recipes/default/tiddlers/:title
|
GET /recipes/default/tiddlers/:title
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function() {
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -42,5 +41,3 @@ exports.handler = function(request,response,state) {
|
|||||||
response.end();
|
response.end();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
}());
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: route
|
|||||||
GET /recipes/default/tiddlers.json?filter=<filter>
|
GET /recipes/default/tiddlers.json?filter=<filter>
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function() {
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -46,5 +45,3 @@ exports.handler = function(request,response,state) {
|
|||||||
var text = JSON.stringify(tiddlers);
|
var text = JSON.stringify(tiddlers);
|
||||||
state.sendResponse(200,{"Content-Type": "application/json"},text,"utf8");
|
state.sendResponse(200,{"Content-Type": "application/json"},text,"utf8");
|
||||||
};
|
};
|
||||||
|
|
||||||
}());
|
|
||||||
|
@ -6,7 +6,6 @@ module-type: route
|
|||||||
PUT /recipes/default/tiddlers/:title
|
PUT /recipes/default/tiddlers/:title
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function() {
|
|
||||||
|
|
||||||
/*jslint node: true, browser: true */
|
/*jslint node: true, browser: true */
|
||||||
/*global $tw: false */
|
/*global $tw: false */
|
||||||
@ -48,5 +47,3 @@ exports.handler = function(request,response,state) {
|
|||||||
});
|
});
|
||||||
response.end();
|
response.end();
|
||||||
};
|
};
|
||||||
|
|
||||||
}());
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user