summaryrefslogtreecommitdiff
path: root/next.config.mjs
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2024-09-23 10:29:53 +0200
committerYuval Adam <_@yuv.al>2024-09-23 10:29:53 +0200
commit8a6ff5a2c15422badf0bc9c8166787dc23a71072 (patch)
treeda45cc6fc598520102260da87c3733107ef4e980 /next.config.mjs
parent51370d591d4f2ac4eddd8b2ea2f9c5118fbf9ab1 (diff)
Move all geshem/ files to root
Diffstat (limited to 'next.config.mjs')
-rw-r--r--next.config.mjs17
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;