diff --git a/index.html b/index.html
index 6103e3d..a74360e 100644
--- a/index.html
+++ b/index.html
@@ -2,7 +2,7 @@
-
+
OnixByte React Template
diff --git a/src/assets/OnixByte.svg b/src/assets/OnixByte.svg
new file mode 100644
index 0000000..b864300
--- /dev/null
+++ b/src/assets/OnixByte.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/router/index.tsx b/src/router/index.tsx
index 96ea9e9..ca96b7e 100644
--- a/src/router/index.tsx
+++ b/src/router/index.tsx
@@ -29,6 +29,8 @@ const router = createBrowserRouter([
},
],
},
-])
+], {
+ basename: process.env.NODE_ENV === 'production' ? '/react-template' : '/'
+})
export default router
diff --git a/vite.config.ts b/vite.config.ts
index dfad972..aaeb578 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -6,6 +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/' : '/',
resolve: {
alias: {
"@": fileURLToPath(new URL("./src", import.meta.url)),