silverwolf-x's picture
download
raw
635 Bytes
const ASSET_PREFIX = '/custom-asset-prefix'
module.exports = {
assetPrefix: ASSET_PREFIX,
i18n: {
locales: ['en-US'],
defaultLocale: 'en-US',
},
async rewrites() {
return {
beforeFiles: [
{
source: `/:locale/${ASSET_PREFIX}/_next/:path*`,
destination: `/${ASSET_PREFIX}/_next/:path*`,
locale: false,
},
],
afterFiles: [
{
source: `/${ASSET_PREFIX}/:path*`,
destination: '/:path*',
},
{
source: '/not-custom-asset-prefix/:path*',
destination: '/:path*',
},
],
}
},
}

Xet Storage Details

Size:
635 Bytes
·
Xet hash:
e2879876d665e37bee6d662653413aecb382eef43cb7e1db64a18087385327c6

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.