silverwolf-x's picture
download
raw
395 Bytes
/**
* @param {import('next').NextConfig} nextConfig
*/
const robotsPlugin = (nextConfig = {}) => {
return Object.assign({}, nextConfig, {
async rewrites() {
return [
...(await nextConfig.rewrites()),
// robots route
{
source: "/robots.txt",
destination: "/api/robots",
},
];
},
});
};
module.exports = robotsPlugin;

Xet Storage Details

Size:
395 Bytes
·
Xet hash:
ab0aa52778b187e7a52e6ecd709ee494702150c19244ffa275530dd41983be3f

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