Fix assets not loading in supervisor UI (#17543)

Signed-off-by: Shrikant Sharat Kandula <shrikant@appsmith.com>
This commit is contained in:
Shrikant Sharat Kandula 2022-10-14 13:23:09 +05:30 committed by GitHub
parent 4c001869b5
commit b6657771a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@ server {
}
# If the path has an extension at the end, then respond with 404 status if the file not found.
location ~ \.[a-z]+$ {
location ~ ^/(?!supervisor/).*\.[a-z]+$ {
try_files \$uri =404;
}

View File

@ -91,7 +91,7 @@ server {
}
# If the path has an extension at the end, then respond with 404 status if the file not found.
location ~ \.[a-z]+$ {
location ~ ^/(?!supervisor/).*\.[a-z]+$ {
try_files \$uri =404;
}