diff --git a/next.config.js b/next.config.js
index 74ffef81..8407a0e5 100644
--- a/next.config.js
+++ b/next.config.js
@@ -17,6 +17,16 @@ const nextConfig = {
});
return config;
},
+ async redirects() {
+ return [
+ {
+ source: '/',
+ destination: '/hackrplay/2022/home',
+ permanent: true,
+ },
+ ]
+ },
+
}
module.exports = nextConfig
diff --git a/pages/index.js b/pages/index.js
index 80489cff..a7db1247 100644
--- a/pages/index.js
+++ b/pages/index.js
@@ -1,17 +1,5 @@
-import { useEffect } from "react";
-import { useRouter } from "next/router";
import Layout from "@/components/Layout";
export default function Home() {
- const router = useRouter();
- useEffect(() => {
- router.push("events/23/twoplaysamonth");
- }, []);
-
- return ;
+ return ;
}