diff --git a/LoongPanel-Asp/appsettings.json b/LoongPanel-Asp/appsettings.json index 4d2b49a..ec2b600 100755 --- a/LoongPanel-Asp/appsettings.json +++ b/LoongPanel-Asp/appsettings.json @@ -20,17 +20,5 @@ "Secret": "p4Qzf/+GPP/XNLalZGCzwlelOl6skiFZscj6iZ6rZZE=", "Issuer": "LoongPanel", "Audience": "LoongPanel", - "PubLicApi": "/Api/Account/Login", - "Kestrel": { - "Endpoints": { - "MyHttpsEndpoint": { - "Url": "https://192.168.0.13:7233", - "ClientCertificateMode": "AllowCertificate", - "Certificate": { - "Path": "./my.pfx", - "Password": "z1377952468zz" - } - } - } - } + "PubLicApi": "/Api/Account/Login" } diff --git a/web/.env b/web/.env index 631bf83..b5e01f2 100755 --- a/web/.env +++ b/web/.env @@ -1 +1 @@ -API_SERVER="https://192.168.0.13:7233" \ No newline at end of file +API_SERVER="http://127.0.0.1:5253" \ No newline at end of file diff --git a/web/nuxt.config.ts b/web/nuxt.config.ts index 7faa65e..64e6e88 100755 --- a/web/nuxt.config.ts +++ b/web/nuxt.config.ts @@ -1,6 +1,4 @@ // https://nuxt.com/docs/api/configuration/nuxt-config -import * as fs from "node:fs"; - export default defineNuxtConfig({ devtools: {enabled: true}, ssr: false, @@ -33,10 +31,10 @@ export default defineNuxtConfig({ css: ['assets/min.scss', 'primevue/resources/themes/aura-light-green/theme.css', 'primeicons/primeicons.css', 'vue-toastification/dist/index.css'], devServer: { port: 3001, host: '0.0.0.0', - https: { - key: "./localhost+3-key.pem", - cert: "./localhost+3.pem", - } + // https: { + // key: "./localhost+3-key.pem", + // cert: "./localhost+3.pem", + // } }, plugins: [ {src: '~/plugins/vue-toast.ts'},