修正为127.0.0.1
This commit is contained in:
parent
e77c7fa2df
commit
3a5d69737a
|
@ -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"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
2
web/.env
2
web/.env
|
@ -1 +1 @@
|
||||||
API_SERVER="https://192.168.0.13:7233"
|
API_SERVER="http://127.0.0.1:5253"
|
|
@ -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'},
|
||||||
|
|
Loading…
Reference in New Issue