Added authenication/authorization. Refactored api startup.
This commit is contained in:
@@ -6,6 +6,15 @@
|
||||
}
|
||||
},
|
||||
"AllowedHosts": "*",
|
||||
"Cors": {
|
||||
"AllowedOrigins": [
|
||||
"https://localhost:5173", // vite-like
|
||||
"https://localhost:5001", // typical https dev
|
||||
"http://localhost:5000", // typical http dev
|
||||
"https://localhost:7112", // blazor wasm dev https (adjust to your port)
|
||||
"http://localhost:5153" // blazor wasm dev http (adjust to your port)
|
||||
]
|
||||
},
|
||||
"Serilog": {
|
||||
"MinimumLevel": {
|
||||
"Default": "Information",
|
||||
|
||||
Reference in New Issue
Block a user