diff --git a/index.html b/index.html
index 66d58c1e6..74dde4db0 100644
--- a/index.html
+++ b/index.html
@@ -1,16 +1,16 @@
-
+
-
+
Uptime Kuma
-
-
-
-
-
+
+
+
+
+
diff --git a/server/server.js b/server/server.js
index daaf9555a..8958aeb4d 100644
--- a/server/server.js
+++ b/server/server.js
@@ -87,7 +87,7 @@ let indexHTML = fs.readFileSync("./dist/index.html").toString();
// Normal Router here
- app.use("/", express.static("dist"));
+ app.use(express.static("dist"));
// Basic Auth Router here
diff --git a/vite.config.js b/vite.config.js
index f93fb0269..05a91d199 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -1,14 +1,15 @@
-import { defineConfig } from 'vite'
-import vue from '@vitejs/plugin-vue'
-import legacy from '@vitejs/plugin-legacy'
+import { defineConfig } from "vite"
+import vue from "@vitejs/plugin-vue"
+import legacy from "@vitejs/plugin-legacy"
// https://vitejs.dev/config/
export default defineConfig({
- plugins: [
- vue(),
- legacy({
- targets: ['ie > 11'],
- additionalLegacyPolyfills: ['regenerator-runtime/runtime']
- })
- ]
+ base: "./",
+ plugins: [
+ vue(),
+ legacy({
+ targets: ["ie > 11"],
+ additionalLegacyPolyfills: ["regenerator-runtime/runtime"]
+ })
+ ]
})