feat: add caching headers for models, update viewport meta tag, and enhance error handling; improve flight tracker layout and status bar styling
This commit is contained in:
@ -34,6 +34,15 @@ const nextConfig: NextConfig = {
|
||||
source: "/api/:path*",
|
||||
headers: [{ key: "Cache-Control", value: "no-store, max-age=0" }],
|
||||
},
|
||||
{
|
||||
source: "/models/:path*",
|
||||
headers: [
|
||||
{
|
||||
key: "Cache-Control",
|
||||
value: "public, max-age=31536000, immutable",
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user