From 30434e9bad2bf3b082b8dec193b1f2ccfa905f85 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Fri, 23 Sep 2022 19:49:41 +0300 Subject: fix: use .js in next config --- next.config.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 next.config.js (limited to 'next.config.js') diff --git a/next.config.js b/next.config.js new file mode 100644 index 0000000..cc28907 --- /dev/null +++ b/next.config.js @@ -0,0 +1,18 @@ +/** @type {import('next').NextConfig} */ +const nextConfig = { + reactStrictMode: true, + experimental: { + images: { + allowFutureImage: true, + }, + }, + redirects: async () => { + return [{ + source: '/', + destination: '/index', + permanent: true, + }]; + } +} + +module.exports = nextConfig -- cgit v1.2.3