Skip to content

Commit

Permalink
fix: Cache-Control header for svg assets
Browse files Browse the repository at this point in the history
  • Loading branch information
better-salmon authored and platypusrex committed Nov 16, 2023
1 parent 591288f commit cc22a73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module.exports = (nextConfig = {}) => {
];

if (fileLoader) {
const path = 'static/svg/';
const path = 'static/media/';
const defaultOptions = {
limit: 8192,
publicPath: `${assetPrefix ?? ''}/_next/${path}`,
Expand Down

0 comments on commit cc22a73

Please sign in to comment.