12 lines
359 B
TypeScript
12 lines
359 B
TypeScript
import type { NextConfig } from "next";
|
|
const config: NextConfig = {
|
|
reactStrictMode: true, poweredByHeader: false,
|
|
async headers() {
|
|
return [{
|
|
source: "/canvas-icons/:version/:asset([a-z0-9-]+-[a-f0-9]{12}\\.json)",
|
|
headers: [{ key: "Cache-Control", value: "public, max-age=31536000, immutable" }],
|
|
}];
|
|
},
|
|
};
|
|
export default config;
|