making pay, & refactoring
This commit is contained in:
parent
8b5e50626e
commit
3e6ac9aba7
34 changed files with 602 additions and 215 deletions
|
|
@ -79,6 +79,8 @@ namespace Yavsc
|
|||
services.Configure<OAuth2AppSettings>(oauthLocalAppSettings);
|
||||
var oauthFacebookSettings = Configuration.GetSection("Authentication").GetSection("Facebook");
|
||||
services.Configure<FacebookOAuth2AppSettings>(oauthFacebookSettings);
|
||||
var paypalSettings = Configuration.GetSection("Authentication").GetSection("PayPal");
|
||||
services.Configure<PayPalSettings>(paypalSettings);
|
||||
|
||||
/* services.Configure<MvcOptions>(options =>
|
||||
{
|
||||
|
|
@ -143,15 +145,15 @@ namespace Yavsc
|
|||
ConfigureOAuthServices(services);
|
||||
|
||||
services.AddCors(
|
||||
/*
|
||||
|
||||
options =>
|
||||
{
|
||||
options.AddPolicy("CorsPolicy", builder =>
|
||||
{
|
||||
builder.WithOrigins("http://lua.pschneider.fr");
|
||||
builder.WithOrigins("*");
|
||||
});
|
||||
}
|
||||
*/
|
||||
|
||||
);
|
||||
// Add memory cache services
|
||||
services.AddCaching();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue