silverwolf-x's picture
download
raw
912 Bytes
/** @type {import('next').NextConfig} */
module.exports = {
reactStrictMode: true,
async rewrites() {
return [
{
source: "/",
destination: "/landing-page/landing-page-with-components",
},
];
},
redirects() {
const sourcesRequiringAuthToken = [
"/",
"/landing-page/:slug*",
"/blog/:path*",
];
return process.env.NEXT_PUBLIC_BUTTER_CMS_API_KEY
? [
{
source: "/missing-token",
destination: "/",
permanent: false,
},
]
: sourcesRequiringAuthToken.map((source) => ({
source: source,
destination: "/missing-token",
permanent: false,
}));
},
images: {
remotePatterns: [
{
protocol: "https",
hostname: "cdn.buttercms.com",
port: "",
pathname: "/my-account/**",
},
],
},
};

Xet Storage Details

Size:
912 Bytes
·
Xet hash:
d604ff79f0629c437f2c57cb464ba61d224d72ef523f4d75787f37f25d0a1706

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