Refactor AppConfig and update configuration settings across environments. Changed properties to use set accessors, added AllowedOrigins, and improved error handling in Program.cs. Updated appsettings files for development, production, and added new structure for user data retrieval.
This commit is contained in:
@@ -13,6 +13,16 @@
|
||||
"Microsoft.Hosting.Lifetime": "Information"
|
||||
}
|
||||
},
|
||||
"AllowedHosts": "*"
|
||||
"AllowedHosts": "*",
|
||||
"AppConfig": {
|
||||
"DbHost": "postgres",
|
||||
"DbPort": "5440",
|
||||
"DbName": "dexdemo",
|
||||
"DbUser": "dexdemo",
|
||||
"DbPassword": "dexdemo",
|
||||
"Issuer": "https://dex.127.0.0.1.sslip.io/",
|
||||
"InsecureDevMode": false,
|
||||
"AllowedOrigins": ["http://localhost:3000", "https://localhost:3000"]
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user