forked from aegis/pyserveX
fix in routing
This commit is contained in:
+1
-8
@@ -22,18 +22,11 @@ extensions:
|
||||
- type: routing
|
||||
config:
|
||||
regex_locations:
|
||||
"=/":
|
||||
root: "./docs"
|
||||
index_file: "index.html"
|
||||
|
||||
"~*\\.(css)$":
|
||||
root: "./docs"
|
||||
cache_control: "public, max-age=3600"
|
||||
|
||||
"~*\\.html$":
|
||||
root: "./docs"
|
||||
cache_control: "no-cache"
|
||||
|
||||
"__default__":
|
||||
root: "./docs"
|
||||
index_file: "index.html"
|
||||
cache_control: "no-cache"
|
||||
|
||||
Reference in New Issue
Block a user