Add configurations and update packages
This commit is contained in:
@@ -8,7 +8,64 @@
|
||||
},
|
||||
"AllowedHosts": "*",
|
||||
"WebApi": {
|
||||
"SupportEMail": "support@someone.de"
|
||||
"Swagger": {
|
||||
"SupportEMail": "support@baketronic.com",
|
||||
"TermsOfService": "https://www.baketronic.com/impressum/",
|
||||
"Licence": {
|
||||
"Name": "MIT",
|
||||
"Url": "https://opensource.org/licenses/MIT"
|
||||
}
|
||||
},
|
||||
"EntityFrameworkmigration": {
|
||||
"AutoMigrate": true
|
||||
},
|
||||
"Server": {
|
||||
"UseCors": true,
|
||||
"CorsPolicy": {
|
||||
"AllowCredentials": true,
|
||||
"AllowedHeaders": [
|
||||
"*"
|
||||
],
|
||||
"AllowedMethods": [
|
||||
"GET",
|
||||
"POST",
|
||||
"PUT",
|
||||
"PATCH",
|
||||
"DELETE",
|
||||
"OPTIONS"
|
||||
],
|
||||
"AllowedOrigins": [
|
||||
"https://www.example.com:443",
|
||||
"https://localhost:4200",
|
||||
"http://localhost:4200"
|
||||
]
|
||||
},
|
||||
"UseHttpsRedirection": true,
|
||||
"UseHsts": false,
|
||||
"Headers": {
|
||||
"ForwardedHeadersOptions": {
|
||||
"ForwardedHeaders": [
|
||||
"XForwardedFor",
|
||||
"XForwardedProto"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"OpenId": {
|
||||
"Authority": "https://openid.example.com/auth/realms/example",
|
||||
"RequireHttpsMetadata": true,
|
||||
"SaveToken": true,
|
||||
"Validate": {
|
||||
"Issuer": "https://openid.example.com/auth/realms/example",
|
||||
"Audience": "audience",
|
||||
"RequiredClaimType": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress",
|
||||
"ValidateLifetime": true,
|
||||
"RsaPublicKey": "RsaToken"
|
||||
}
|
||||
}
|
||||
},
|
||||
"NotifyOvenJob": {
|
||||
"CronExpression": "*/30 * * * * ? *"
|
||||
},
|
||||
"SayHelloWorldJob": {
|
||||
"CronExpression": "*/30 * * * * ? *",
|
||||
|
||||
Reference in New Issue
Block a user