diff options
| -rw-r--r-- | geshem/next.config.mjs | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/geshem/next.config.mjs b/geshem/next.config.mjs index 4678774..9a6f2e0 100644 --- a/geshem/next.config.mjs +++ b/geshem/next.config.mjs @@ -1,4 +1,17 @@ /** @type {import('next').NextConfig} */ -const 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; |
