Allow scenery images through middleware
This commit is contained in:
@@ -31,6 +31,7 @@ function isStaticAsset(pathname: string) {
|
|||||||
pathname.startsWith("/sitemap.xml") ||
|
pathname.startsWith("/sitemap.xml") ||
|
||||||
pathname.startsWith("/icons/") ||
|
pathname.startsWith("/icons/") ||
|
||||||
pathname.startsWith("/images/") ||
|
pathname.startsWith("/images/") ||
|
||||||
|
pathname.startsWith("/scenery/") ||
|
||||||
pathname.startsWith("/static/")
|
pathname.startsWith("/static/")
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user