修复mac m1下启动访问403

This commit is contained in:
xuejiaming 2022-05-30 08:46:02 +08:00
parent 78a59dd181
commit 56a6efbbd7
1 changed files with 17 additions and 1 deletions

View File

@ -1,12 +1,28 @@
{ {
"$schema": "https://json.schemastore.org/launchsettings.json", "$schema": "https://json.schemastore.org/launchsettings.json",
"iisSettings": {
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:6751",
"sslPort": 44370
}
},
"profiles": { "profiles": {
"Sample.AutoCreateIfPresent": { "Sample.AutoCreateIfPresent": {
"commandName": "Project", "commandName": "Project",
"dotnetRunMessages": true, "dotnetRunMessages": true,
"launchBrowser": true, "launchBrowser": true,
"launchUrl": "swagger", "launchUrl": "swagger",
"applicationUrl": "http://localhost:5000", "applicationUrl": "https://localhost:7222;http://localhost:5040",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"IIS Express": {
"commandName": "IISExpress",
"launchBrowser": true,
"launchUrl": "swagger",
"environmentVariables": { "environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development" "ASPNETCORE_ENVIRONMENT": "Development"
} }