修正为127.0.0.1

This commit is contained in:
niyyzf 2024-06-29 18:43:36 +08:00
parent e77c7fa2df
commit 3a5d69737a
3 changed files with 6 additions and 20 deletions

View File

@ -20,17 +20,5 @@
"Secret": "p4Qzf/+GPP/XNLalZGCzwlelOl6skiFZscj6iZ6rZZE=", "Secret": "p4Qzf/+GPP/XNLalZGCzwlelOl6skiFZscj6iZ6rZZE=",
"Issuer": "LoongPanel", "Issuer": "LoongPanel",
"Audience": "LoongPanel", "Audience": "LoongPanel",
"PubLicApi": "/Api/Account/Login", "PubLicApi": "/Api/Account/Login"
"Kestrel": {
"Endpoints": {
"MyHttpsEndpoint": {
"Url": "https://192.168.0.13:7233",
"ClientCertificateMode": "AllowCertificate",
"Certificate": {
"Path": "./my.pfx",
"Password": "z1377952468zz"
}
}
}
}
} }

View File

@ -1 +1 @@
API_SERVER="https://192.168.0.13:7233" API_SERVER="http://127.0.0.1:5253"

View File

@ -1,6 +1,4 @@
// https://nuxt.com/docs/api/configuration/nuxt-config // https://nuxt.com/docs/api/configuration/nuxt-config
import * as fs from "node:fs";
export default defineNuxtConfig({ export default defineNuxtConfig({
devtools: {enabled: true}, devtools: {enabled: true},
ssr: false, 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'], css: ['assets/min.scss', 'primevue/resources/themes/aura-light-green/theme.css', 'primeicons/primeicons.css', 'vue-toastification/dist/index.css'],
devServer: { devServer: {
port: 3001, host: '0.0.0.0', port: 3001, host: '0.0.0.0',
https: { // https: {
key: "./localhost+3-key.pem", // key: "./localhost+3-key.pem",
cert: "./localhost+3.pem", // cert: "./localhost+3.pem",
} // }
}, },
plugins: [ plugins: [
{src: '~/plugins/vue-toast.ts'}, {src: '~/plugins/vue-toast.ts'},