Optimize memory usage

This commit is contained in:
2024-10-18 23:21:51 +08:00
parent b006d29f53
commit 5ccbc592b7
6 changed files with 41 additions and 21 deletions

View File

@ -1,9 +1,9 @@
id = "example"
id = "static-files"
[[locations]]
id = "example-location"
host = ["localhost:8000"]
path = ["/"]
id = "static-files-loc"
hosts = ["localhost:8000"]
paths = ["/"]
[[locations.destinations]]
id = "example-destination"
uri = "files://../data/spa?fallback=index.html"
id = "static-files-des"
uri = "files://../data/spa?fallback=index.html"