diff --git a/src/components.d.ts b/src/components.d.ts index 3239a24..1ad5ffc 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -14,6 +14,7 @@ declare module 'vue' { Chat: typeof import('./components/chat/Chat.vue')['default'] ChatMenu: typeof import('./components/ChatMenu.vue')['default'] ChatSettings: typeof import('./components/settings/ChatSettings.vue')['default'] + Layout: typeof import('./components/chat/Layout.vue')['default'] LeftSettings: typeof import('./components/settings/LeftSettings.vue')['default'] LibrarySettings: typeof import('./components/settings/LibrarySettings.vue')['default'] Lottie: typeof import('./components/Lottie.vue')['default'] diff --git a/src/components/chat/Chat.vue b/src/components/chat/Chat.vue index e50c3e0..e1f7cb3 100644 --- a/src/components/chat/Chat.vue +++ b/src/components/chat/Chat.vue @@ -1,5 +1,5 @@ diff --git a/src/config/config.ts b/src/config/config.ts index a4ba602..139867a 100644 --- a/src/config/config.ts +++ b/src/config/config.ts @@ -19,6 +19,7 @@ if (process.env.NODE_ENV === "production") { config.backend = "https://amber-api.leaflow.cn"; + // console.log("api endpoint: " + config.backend); export default config; diff --git a/src/layouts/DefaultLayout.vue b/src/layouts/DefaultLayout.vue index 3a555b4..3e0e9d3 100644 --- a/src/layouts/DefaultLayout.vue +++ b/src/layouts/DefaultLayout.vue @@ -1,15 +1,16 @@