Update API URL in version fetcher and enhance logging
Deploy to Production / deploy (push) Successful in 5s
Deploy to Production / deploy (push) Successful in 5s
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user