Restore https

This commit is contained in:
Фролов 2021-12-22 15:59:02 +05:00
parent 2019386a71
commit a59b1897ce
2 changed files with 9 additions and 3 deletions

View File

@ -49,7 +49,14 @@ namespace AsbCloudWebApi
"http://localhost:3000", "http://localhost:3000",
"http://0.0.0.0:5000", "http://0.0.0.0:5000",
"http://*:5000", "http://*:5000",
"http://localhost:5000" "http://localhost:5000",
"https://0.0.0.0:3000",
"https://*:3000",
"https://localhost:3000",
"https://0.0.0.0:5001",
"https://*:5001",
"https://localhost:5001"
) )
.AllowCredentials(); .AllowCredentials();
}); });

View File

@ -12,6 +12,5 @@
"ServerConnection": "Host=192.168.1.70;Database=postgres;Username=postgres;Password=q;Persist Security Info=True", "ServerConnection": "Host=192.168.1.70;Database=postgres;Username=postgres;Password=q;Persist Security Info=True",
"LocalConnection": "Host=localhost;Database=postgres;Username=postgres;Password=q;Persist Security Info=True" "LocalConnection": "Host=localhost;Database=postgres;Username=postgres;Password=q;Persist Security Info=True"
}, },
"AllowedHosts": "*", "AllowedHosts": "*"
"Urls": "http://0.0.0.0:5000"
} }