diff options
Diffstat (limited to 'next.config.mjs')
| -rw-r--r-- | next.config.mjs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/next.config.mjs b/next.config.mjs new file mode 100644 index 0000000..9a6f2e0 --- /dev/null +++ b/next.config.mjs @@ -0,0 +1,17 @@ +/** @type {import('next').NextConfig} */ +const nextConfig = { + async rewrites() { + return [ + { + source: '/imgs.json', + destination: 'https://imgs.geshem.space/imgs.json', + }, + { + source: '/imgs/:path*', + destination: 'https://imgs.geshem.space/imgs/:path*', + }, + ]; + }, +}; + +export default nextConfig; |
