@@ 14,24 14,24 @@ Routes are in the routes.json file
### Types
- - text, sends res as text
- - file, sends file content
- - directory, sends files contents in directory as json
- ```json
- [
- {
- "filename": "file1",
- "content": "CoolFile"
- },
- {
- "filename": "file2",
- "content": "Nice content"
- }
- ]
- ```
- - route
- - get, returns the content of the routing array as json
- - refresh, refresh the routes array
+- text, sends res as text
+- file, sends file content
+- directory, sends files contents in directory as json
+ ```json
+ [
+ {
+ "filename": "file1",
+ "content": "CoolFile"
+ },
+ {
+ "filename": "file2",
+ "content": "Nice content"
+ }
+ ]
+ ```
+- route
+ - get, returns the content of the routing array as json
+ - refresh, refresh the routes array
#### optional