3400e33207
The catch-all /* -> /index.html redirect was serving HTML for /og-image.png, so Signal's crawler got text/html instead of image/png. Added explicit rules for static files (og-image.png, logo.png, robots.txt, manifest.webmanifest) before the SPA fallback so they serve with correct content types. Co-authored-by: shakespeare.diy <assistant@shakespeare.diy>
7 lines
306 B
Plaintext
7 lines
306 B
Plaintext
/assets/* /assets/:splat 200
|
|
/og-image.png /og-image.png 200
|
|
/logo.png /logo.png 200
|
|
/robots.txt /robots.txt 200
|
|
/manifest.webmanifest /manifest.webmanifest 200
|
|
/* /index.html 200
|