...
This commit is contained in:
		| @@ -83,6 +83,11 @@ class MarkdownEditorApp: | ||||
|         if path.startswith('/static/'): | ||||
|             return self.handle_static(environ, start_response) | ||||
|          | ||||
|         # Health check | ||||
|         if path == '/health' and method == 'GET': | ||||
|             start_response('200 OK', [('Content-Type', 'text/plain')]) | ||||
|             return [b'OK'] | ||||
|              | ||||
|         # API for collections | ||||
|         if path == '/fs/' and method == 'GET': | ||||
|             return self.handle_collections_list(environ, start_response) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user