diff --git a/public/CNAME b/public/CNAME
new file mode 100644
index 0000000..6c8dbc1
--- /dev/null
+++ b/public/CNAME
@@ -0,0 +1 @@
+onixbyte.dev
\ No newline at end of file
diff --git a/src/router/index.tsx b/src/router/index.tsx
index ca96b7e..be17847 100644
--- a/src/router/index.tsx
+++ b/src/router/index.tsx
@@ -9,28 +9,31 @@ import ContactPage from "@/page/contact"
* Main application router configuration using React Router v6.
* Defines all routes and their corresponding components.
*/
-const router = createBrowserRouter([
+const router = createBrowserRouter(
+ [
+ {
+ path: "/",
+ element: ,
+ errorElement: ,
+ children: [
+ {
+ index: true,
+ element: ,
+ },
+ {
+ path: "about",
+ element: ,
+ },
+ {
+ path: "contact",
+ element: ,
+ },
+ ],
+ },
+ ],
{
- path: "/",
- element: ,
- errorElement: ,
- children: [
- {
- index: true,
- element: ,
- },
- {
- path: "about",
- element: ,
- },
- {
- path: "contact",
- element: ,
- },
- ],
- },
-], {
- basename: process.env.NODE_ENV === 'production' ? '/react-template' : '/'
-})
+ basename: "/",
+ }
+)
export default router
diff --git a/vite.config.ts b/vite.config.ts
index aaeb578..45b6aba 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -6,7 +6,7 @@ import tailwindcss from "@tailwindcss/vite"
// https://vite.dev/config/
export default defineConfig({
plugins: [react(), tailwindcss()],
- base: process.env.NODE_ENV === 'production' ? '/react-template/' : '/',
+ base: "/",
resolve: {
alias: {
"@": fileURLToPath(new URL("./src", import.meta.url)),