修正为127.0.0.1
This commit is contained in:
parent
e77c7fa2df
commit
3a5d69737a
|
@ -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"
|
||||
}
|
||||
|
|
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
|
||||
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'},
|
||||
|
|
Loading…
Reference in New Issue