Temporarily disable anti-forgery validation for HTTPS proxy compatibility
This commit is contained in:
26
publish/littleshop-hotfix/appsettings.Development.json
Normal file
26
publish/littleshop-hotfix/appsettings.Development.json
Normal file
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Default": "Debug",
|
||||
"Microsoft.AspNetCore": "Debug",
|
||||
"LittleShop": "Debug"
|
||||
}
|
||||
},
|
||||
"Security": {
|
||||
"AllowInsecureSSL": true,
|
||||
"EnableDetailedErrors": true
|
||||
},
|
||||
"CORS": {
|
||||
"AllowedOrigins": [
|
||||
"http://localhost:3000",
|
||||
"http://localhost:5173",
|
||||
"http://localhost:5000",
|
||||
"http://localhost:5001",
|
||||
"https://localhost:5001"
|
||||
]
|
||||
},
|
||||
"TeleBot": {
|
||||
"ApiUrl": "http://localhost:8080",
|
||||
"ApiKey": "development-key-replace-in-production"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user