Update API URL in version fetcher and enhance logging
Deploy to Production / deploy (push) Successful in 5s

This commit is contained in:
Илья Глазунов
2025-12-07 23:10:01 +03:00
parent 769a5e0a43
commit 7e1846276e
2 changed files with 15 additions and 4 deletions
+10
View File
@@ -21,10 +21,20 @@ extensions:
- type: routing
config:
regex_locations:
"=/api/version":
proxy_pass: "https://git.pyserve.org/api/v1/repos/Shifty/pyserveX/releases/latest"
headers:
- "X-Forwarded-For: $remote_addr"
- "X-Real-IP: $remote_addr"
"~*\\.(css)$":
root: "./docs"
cache_control: "public, max-age=3600"
"~*\\.(js)$":
root: "./docs"
cache_control: "public, max-age=1800"
"__default__":
root: "./docs"
index_file: "index.html"