diff options
| author | Yuval Adam <_@yuv.al> | 2024-09-23 10:29:53 +0200 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2024-09-23 10:29:53 +0200 |
| commit | 8a6ff5a2c15422badf0bc9c8166787dc23a71072 (patch) | |
| tree | da45cc6fc598520102260da87c3733107ef4e980 /next.config.mjs | |
| parent | 51370d591d4f2ac4eddd8b2ea2f9c5118fbf9ab1 (diff) | |
Move all geshem/ files to root
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; |
