From ca81ea6433af1c5231ea52b4692812e2f39aeb09 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Fri, 23 Sep 2022 19:46:49 +0300 Subject: feat: redirect / to index --- next.config.ts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 next.config.ts (limited to 'next.config.ts') diff --git a/next.config.ts b/next.config.ts new file mode 100644 index 0000000..742ad4f --- /dev/null +++ b/next.config.ts @@ -0,0 +1,19 @@ +import { NextConfig } from 'next'; + +const nextConfig: NextConfig = { + reactStrictMode: true, + experimental: { + images: { + allowFutureImage: true, + }, + }, + redirects: async () => { + return [{ + source: '/', + destination: '/index', + permanent: true, + }]; + } +} + +export default nextConfig; -- cgit v1.2.3