mirror of
https://github.com/formbricks/formbricks.git
synced 2026-02-08 07:39:53 -06:00
fix: allow access of /animated-bgs/** from public url (#6748)
Co-authored-by: pandeymangg <anshuman.pandey9999@gmail.com>
This commit is contained in:
@@ -85,6 +85,6 @@ export const middleware = async (originalRequest: NextRequest) => {
|
||||
|
||||
export const config = {
|
||||
matcher: [
|
||||
"/((?!_next/static|_next/image|favicon.ico|sitemap.xml|robots.txt|js|css|images|fonts|icons|public).*)",
|
||||
"/((?!_next/static|_next/image|favicon.ico|sitemap.xml|robots.txt|js|css|images|fonts|icons|public|animated-bgs).*)",
|
||||
],
|
||||
};
|
||||
|
||||
@@ -102,6 +102,7 @@ When PUBLIC_URL is configured, the following routes are automatically served fro
|
||||
- `/fonts/*` - Font files
|
||||
- `/icons/*` - Icon assets
|
||||
- `/public/*` - Public static files
|
||||
- `/animated-bgs/*` - Animated Background assets
|
||||
|
||||
#### Storage Routes
|
||||
|
||||
|
||||
Reference in New Issue
Block a user