Fix assets not loading in supervisor UI (#17543)
Signed-off-by: Shrikant Sharat Kandula <shrikant@appsmith.com>
This commit is contained in:
parent
4c001869b5
commit
b6657771a1
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user