[+] Add title replacement feature

This commit is contained in:
Azalea Gui
2023-02-16 18:55:02 -05:00
parent 7eb7512642
commit 4ad2208c42
3 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -10,6 +10,7 @@ location /__meowindex__ {
sub_filter "{DEPLOY-PATH-PLACEHOLDER}" "/__meowindex__";
sub_filter "{HOST-PLACEHOLDER}" "/api";
sub_filter "\"/assets" "\"/__meowindex__/assets";
sub_filter "File Listing" $title;
# Serve index.html on other 404 paths as well
try_files $uri /__meowindex__/index.html;
@@ -23,4 +24,4 @@ location /api {
autoindex on;
autoindex_format json;
add_header Access-Control-Allow-Origin *;
}
}