调整跨域选项
This commit is contained in:
parent
c84f3f6f0e
commit
9bcfd58062
|
@ -76,7 +76,7 @@ builder.Services.AddCors(options =>
|
|||
policy =>
|
||||
{
|
||||
//允许全部
|
||||
policy.WithOrigins("http://localhost:3001", "http://192.168.1.22:3001", "http://192.168.1.22:3001",
|
||||
policy.WithOrigins("http://localhost:3001", "http://localhost:3000","https://localhost:3000","http://127.0.0.1:3000","http://192.168.1.22:3001", "http://192.168.1.22:3001",
|
||||
"https://192.168.0.22:3000","https://loongpanel.xn--7p0a.site").AllowAnyHeader().AllowAnyMethod().AllowCredentials();
|
||||
});
|
||||
});
|
||||
|
|
|
@ -6,7 +6,6 @@ import {NaiveUiResolver} from 'unplugin-vue-components/resolvers'
|
|||
|
||||
export default defineNuxtConfig({
|
||||
devtools: {enabled: true},
|
||||
builder: "webpack",
|
||||
ssr: false,
|
||||
modules: [
|
||||
'@nuxtjs/color-mode',
|
||||
|
|
111
web/yarn.lock
111
web/yarn.lock
|
@ -2463,86 +2463,6 @@
|
|||
estree-walker "^2.0.2"
|
||||
picomatch "^2.3.1"
|
||||
|
||||
"@rollup/rollup-android-arm-eabi@4.19.0":
|
||||
version "4.19.0"
|
||||
resolved "https://registry.npmmirror.com/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.19.0.tgz#3d9fd50164b94964f5de68c3c4ce61933b3a338d"
|
||||
integrity sha512-JlPfZ/C7yn5S5p0yKk7uhHTTnFlvTgLetl2VxqE518QgyM7C9bSfFTYvB/Q/ftkq0RIPY4ySxTz+/wKJ/dXC0w==
|
||||
|
||||
"@rollup/rollup-android-arm64@4.19.0":
|
||||
version "4.19.0"
|
||||
resolved "https://registry.npmmirror.com/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.19.0.tgz#e1a6d4bca2eb08c84fd996a4bf896ce4b6f4014c"
|
||||
integrity sha512-RDxUSY8D1tWYfn00DDi5myxKgOk6RvWPxhmWexcICt/MEC6yEMr4HNCu1sXXYLw8iAsg0D44NuU+qNq7zVWCrw==
|
||||
|
||||
"@rollup/rollup-darwin-arm64@4.19.0":
|
||||
version "4.19.0"
|
||||
resolved "https://registry.npmmirror.com/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.19.0.tgz#0a3fffea69489a24a96079af414b0be78df8abbc"
|
||||
integrity sha512-emvKHL4B15x6nlNTBMtIaC9tLPRpeA5jMvRLXVbl/W9Ie7HhkrE7KQjvgS9uxgatL1HmHWDXk5TTS4IaNJxbAA==
|
||||
|
||||
"@rollup/rollup-darwin-x64@4.19.0":
|
||||
version "4.19.0"
|
||||
resolved "https://registry.npmmirror.com/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.19.0.tgz#13fbdb15f58f090871b0ffff047ece06ad6ad74c"
|
||||
integrity sha512-fO28cWA1dC57qCd+D0rfLC4VPbh6EOJXrreBmFLWPGI9dpMlER2YwSPZzSGfq11XgcEpPukPTfEVFtw2q2nYJg==
|
||||
|
||||
"@rollup/rollup-linux-arm-gnueabihf@4.19.0":
|
||||
version "4.19.0"
|
||||
resolved "https://registry.npmmirror.com/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.19.0.tgz#e9d9219ddf6f6e946e2ee322198af12466d2c868"
|
||||
integrity sha512-2Rn36Ubxdv32NUcfm0wB1tgKqkQuft00PtM23VqLuCUR4N5jcNWDoV5iBC9jeGdgS38WK66ElncprqgMUOyomw==
|
||||
|
||||
"@rollup/rollup-linux-arm-musleabihf@4.19.0":
|
||||
version "4.19.0"
|
||||
resolved "https://registry.npmmirror.com/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.19.0.tgz#4ba804a00b5e793196a622f6977e05f23e01f59a"
|
||||
integrity sha512-gJuzIVdq/X1ZA2bHeCGCISe0VWqCoNT8BvkQ+BfsixXwTOndhtLUpOg0A1Fcx/+eA6ei6rMBzlOz4JzmiDw7JQ==
|
||||
|
||||
"@rollup/rollup-linux-arm64-gnu@4.19.0":
|
||||
version "4.19.0"
|
||||
resolved "https://registry.npmmirror.com/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.19.0.tgz#d871e3f41de759a6db27fc99235b782ba47c15cc"
|
||||
integrity sha512-0EkX2HYPkSADo9cfeGFoQ7R0/wTKb7q6DdwI4Yn/ULFE1wuRRCHybxpl2goQrx4c/yzK3I8OlgtBu4xvted0ug==
|
||||
|
||||
"@rollup/rollup-linux-arm64-musl@4.19.0":
|
||||
version "4.19.0"
|
||||
resolved "https://registry.npmmirror.com/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.19.0.tgz#6e63f7ad4cc51bd2c693a2826fd279de9eaa05b5"
|
||||
integrity sha512-GlIQRj9px52ISomIOEUq/IojLZqzkvRpdP3cLgIE1wUWaiU5Takwlzpz002q0Nxxr1y2ZgxC2obWxjr13lvxNQ==
|
||||
|
||||
"@rollup/rollup-linux-powerpc64le-gnu@4.19.0":
|
||||
version "4.19.0"
|
||||
resolved "https://registry.npmmirror.com/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.19.0.tgz#1540b284d91c440bc9fa7a1714cfb71a5597e94d"
|
||||
integrity sha512-N6cFJzssruDLUOKfEKeovCKiHcdwVYOT1Hs6dovDQ61+Y9n3Ek4zXvtghPPelt6U0AH4aDGnDLb83uiJMkWYzQ==
|
||||
|
||||
"@rollup/rollup-linux-riscv64-gnu@4.19.0":
|
||||
version "4.19.0"
|
||||
resolved "https://registry.npmmirror.com/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.19.0.tgz#70ae58103b5bc7ba2e2235738b51d97022c8ef92"
|
||||
integrity sha512-2DnD3mkS2uuam/alF+I7M84koGwvn3ZVD7uG+LEWpyzo/bq8+kKnus2EVCkcvh6PlNB8QPNFOz6fWd5N8o1CYg==
|
||||
|
||||
"@rollup/rollup-linux-s390x-gnu@4.19.0":
|
||||
version "4.19.0"
|
||||
resolved "https://registry.npmmirror.com/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.19.0.tgz#579ca5f271421a961d3c73d221202c79e02ff03a"
|
||||
integrity sha512-D6pkaF7OpE7lzlTOFCB2m3Ngzu2ykw40Nka9WmKGUOTS3xcIieHe82slQlNq69sVB04ch73thKYIWz/Ian8DUA==
|
||||
|
||||
"@rollup/rollup-linux-x64-gnu@4.19.0":
|
||||
version "4.19.0"
|
||||
resolved "https://registry.npmmirror.com/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.19.0.tgz#f0282d761b8b4e7b92b236813475248e37231849"
|
||||
integrity sha512-HBndjQLP8OsdJNSxpNIN0einbDmRFg9+UQeZV1eiYupIRuZsDEoeGU43NQsS34Pp166DtwQOnpcbV/zQxM+rWA==
|
||||
|
||||
"@rollup/rollup-linux-x64-musl@4.19.0":
|
||||
version "4.19.0"
|
||||
resolved "https://registry.npmmirror.com/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.19.0.tgz#65da807ac66c505ad14b76f1e5976006cb67dd5f"
|
||||
integrity sha512-HxfbvfCKJe/RMYJJn0a12eiOI9OOtAUF4G6ozrFUK95BNyoJaSiBjIOHjZskTUffUrB84IPKkFG9H9nEvJGW6A==
|
||||
|
||||
"@rollup/rollup-win32-arm64-msvc@4.19.0":
|
||||
version "4.19.0"
|
||||
resolved "https://registry.npmmirror.com/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.19.0.tgz#1eed24b91f421c2eea8bb7ca8889ba0c867e1780"
|
||||
integrity sha512-HxDMKIhmcguGTiP5TsLNolwBUK3nGGUEoV/BO9ldUBoMLBssvh4J0X8pf11i1fTV7WShWItB1bKAKjX4RQeYmg==
|
||||
|
||||
"@rollup/rollup-win32-ia32-msvc@4.19.0":
|
||||
version "4.19.0"
|
||||
resolved "https://registry.npmmirror.com/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.19.0.tgz#1ed93c9cdc84e185359797a686f4d1576afcea58"
|
||||
integrity sha512-xItlIAZZaiG/u0wooGzRsx11rokP4qyc/79LkAOdznGRAbOFc+SfEdfUOszG1odsHNgwippUJavag/+W/Etc6Q==
|
||||
|
||||
"@rollup/rollup-win32-x64-msvc@4.19.0":
|
||||
version "4.19.0"
|
||||
resolved "https://registry.npmmirror.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.19.0.tgz"
|
||||
integrity sha512-xNo5fV5ycvCCKqiZcpB65VMR11NJB+StnxHz20jdqRAktfdfzhgjTiJ2doTDQE/7dqGaV5I7ZGqKpgph6lCIag==
|
||||
|
||||
"@sindresorhus/merge-streams@^2.1.0":
|
||||
version "2.3.0"
|
||||
resolved "https://registry.npmmirror.com/@sindresorhus/merge-streams/-/merge-streams-2.3.0.tgz"
|
||||
|
@ -6741,36 +6661,13 @@ rollup-plugin-visualizer@^5.12.0:
|
|||
source-map "^0.7.4"
|
||||
yargs "^17.5.1"
|
||||
|
||||
rollup@^2.43.1:
|
||||
version "2.79.1"
|
||||
resolved "https://registry.npmmirror.com/rollup/-/rollup-2.79.1.tgz"
|
||||
integrity sha512-uKxbd0IhMZOhjAiD5oAFp7BqvkA4Dv47qpOCtaNvng4HBwdbWtdOh8f5nZNuk2rp51PMGk3bzfWu5oayNEuYnw==
|
||||
optionalDependencies:
|
||||
fsevents "~2.3.2"
|
||||
|
||||
rollup@^4.13.0, rollup@^4.18.0:
|
||||
version "4.19.0"
|
||||
resolved "https://registry.npmmirror.com/rollup/-/rollup-4.19.0.tgz"
|
||||
integrity sha512-5r7EYSQIowHsK4eTZ0Y81qpZuJz+MUuYeqmmYmRMl1nwhdmbiYqt5jwzf6u7wyOzJgYqtCRMtVRKOtHANBz7rA==
|
||||
rollup@^2.43.1, rollup@^4.13.0, rollup@^4.18.0, "rollup@npm:@rollup/wasm-node":
|
||||
version "4.20.0"
|
||||
resolved "https://registry.npmmirror.com/@rollup/wasm-node/-/wasm-node-4.20.0.tgz#9888871da218e2b52a48398aab421a7bb1bf2d4a"
|
||||
integrity sha512-NxIRJDju9ZzXwpCZ+TMYEflT/KJPgcamVrkInPwB/jSzEIEhckHGgbC9C8Fkzt77nEZZpfF/H2BedwKfjxO9qQ==
|
||||
dependencies:
|
||||
"@types/estree" "1.0.5"
|
||||
optionalDependencies:
|
||||
"@rollup/rollup-android-arm-eabi" "4.19.0"
|
||||
"@rollup/rollup-android-arm64" "4.19.0"
|
||||
"@rollup/rollup-darwin-arm64" "4.19.0"
|
||||
"@rollup/rollup-darwin-x64" "4.19.0"
|
||||
"@rollup/rollup-linux-arm-gnueabihf" "4.19.0"
|
||||
"@rollup/rollup-linux-arm-musleabihf" "4.19.0"
|
||||
"@rollup/rollup-linux-arm64-gnu" "4.19.0"
|
||||
"@rollup/rollup-linux-arm64-musl" "4.19.0"
|
||||
"@rollup/rollup-linux-powerpc64le-gnu" "4.19.0"
|
||||
"@rollup/rollup-linux-riscv64-gnu" "4.19.0"
|
||||
"@rollup/rollup-linux-s390x-gnu" "4.19.0"
|
||||
"@rollup/rollup-linux-x64-gnu" "4.19.0"
|
||||
"@rollup/rollup-linux-x64-musl" "4.19.0"
|
||||
"@rollup/rollup-win32-arm64-msvc" "4.19.0"
|
||||
"@rollup/rollup-win32-ia32-msvc" "4.19.0"
|
||||
"@rollup/rollup-win32-x64-msvc" "4.19.0"
|
||||
fsevents "~2.3.2"
|
||||
|
||||
run-applescript@^7.0.0:
|
||||
|
|
Loading…
Reference in New Issue