aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--next.config.js11
-rw-r--r--next.config.ts19
2 files changed, 19 insertions, 11 deletions
diff --git a/next.config.js b/next.config.js
deleted file mode 100644
index 63fbc33..0000000
--- a/next.config.js
+++ /dev/null
@@ -1,11 +0,0 @@
-/** @type {import('next').NextConfig} */
-const nextConfig = {
- reactStrictMode: true,
- experimental: {
- images: {
- allowFutureImage: true,
- },
- },
-}
-
-module.exports = nextConfig
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;