We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c715be commit 88ea4b3Copy full SHA for 88ea4b3
1 file changed
apps/sim/next.config.ts
@@ -177,11 +177,6 @@ const nextConfig: NextConfig = {
177
async headers() {
178
return [
179
{
180
- // Static assets only — the (?!api/) guard keeps this off API routes. Without it,
181
- // /api/files/serve/<key>.png matched too, and Next drops a route handler's own
182
- // Cache-Control when the config rule already set one, so in-place file overwrites
183
- // (same storage key, e.g. copilot image/chart regeneration) served day-stale bytes
184
- // from the browser cache.
185
source: '/((?!api/).*\\.(?:svg|jpg|jpeg|png|gif|ico|webp|avif|woff|woff2|ttf|eot))',
186
headers: [
187
0 commit comments