diff --git a/index.html b/index.html
index 8e7aa1d..66bfd00 100644
--- a/index.html
+++ b/index.html
@@ -1,13 +1,69 @@
-
+
-
-
-
+
+
+
amber-wails
-
-
-
-
-
+
+
+
+
+
+
-
diff --git a/src/config/config.ts b/src/config/config.ts
index 1c42bff..7618aff 100644
--- a/src/config/config.ts
+++ b/src/config/config.ts
@@ -2,8 +2,8 @@ const config = {
app_name: "Amber",
oauth_discovery_url:
"https://auth.leaflow.cn/.well-known/openid-configuration",
- oauth_client_id: "90020",
- oauth_callback_url: "amber-desktop://auth_callback",
+ oauth_client_id: "60021",
+ oauth_callback_url: "http://localhost:5173/auth/callback",
oauth_storage_key: "code_verifier",
oauth_scope: "openid profile",
backend: "http://localhost:8080",
diff --git a/src/main.ts b/src/main.ts
index b037554..9b74ecd 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -2,7 +2,6 @@ const meta = document.createElement("meta");
meta.name = "naive-ui-style";
document.head.appendChild(meta);
-
import "./style.css";
import { createApp } from "vue";
@@ -14,12 +13,9 @@ import "vfonts/Lato.css";
// 等宽字体
import "vfonts/FiraCode.css";
-
import App from "./App.vue";
import router from "./plugins/router";
-
-
const pinia = createPinia();
pinia.use(piniaPluginPersistedstate);
diff --git a/src/plugins/router.ts b/src/plugins/router.ts
index 25ccf72..52b8093 100644
--- a/src/plugins/router.ts
+++ b/src/plugins/router.ts
@@ -1,9 +1,9 @@
-import { createRouter, createWebHashHistory } from 'vue-router'
+import { createRouter, createWebHistory } from "vue-router";
import { routes } from 'vue-router/auto-routes'
import { setupLayouts } from 'virtual:generated-layouts'
const router = createRouter({
- history: createWebHashHistory(),
+ history: createWebHistory(),
routes: setupLayouts(routes)
})