chore: local port

This commit is contained in:
DarkSky
2022-08-04 17:02:19 +08:00
parent ea4d4ffd91
commit ce4d832fb7
2 changed files with 29 additions and 1 deletions
+28
View File
@@ -0,0 +1,28 @@
:3000 {
root /* ./dist
file_server {
precompressed br
}
encode {
zstd
gzip 9
}
@notStatic {
not path /*.css
not path /*.js
not path /*.png
not path /*.jpg
not path /*.svg
not path /*.ttf
not path /*.eot
not path /*.woff
not path /*.woff2
}
handle @notStatic {
try_files {path} /index.html
}
}