diff options
author | eug-vs <eugene@eug-vs.xyz> | 2022-09-23 19:49:41 +0300 |
---|---|---|
committer | eug-vs <eugene@eug-vs.xyz> | 2022-09-23 19:49:41 +0300 |
commit | 30434e9bad2bf3b082b8dec193b1f2ccfa905f85 (patch) | |
tree | 55675609fee332007ec70b1fbb8db250d3234e4c /next.config.js | |
parent | 8641a3e8ecc06d7bc0b75a71b2b9ec51f7f24c05 (diff) | |
download | benzin-next-30434e9bad2bf3b082b8dec193b1f2ccfa905f85.tar.gz |
fix: use .js in next config
Diffstat (limited to 'next.config.js')
-rw-r--r-- | next.config.js | 18 |
1 files changed, 18 insertions, 0 deletions
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 |