From 8a6ff5a2c15422badf0bc9c8166787dc23a71072 Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Mon, 23 Sep 2024 10:29:53 +0200 Subject: Move all geshem/ files to root --- next.config.mjs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 next.config.mjs (limited to 'next.config.mjs') 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; -- cgit v1.3.1