Skip to content

Commit 88ea4b3

Browse files
committed
Fix comment
1 parent 3c715be commit 88ea4b3

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

apps/sim/next.config.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -177,11 +177,6 @@ const nextConfig: NextConfig = {
177177
async headers() {
178178
return [
179179
{
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.
185180
source: '/((?!api/).*\\.(?:svg|jpg|jpeg|png|gif|ico|webp|avif|woff|woff2|ttf|eot))',
186181
headers: [
187182
{

0 commit comments

Comments
 (0)