From 33dc613fffad69c1c608e21eac6fcd3f2954ead8 Mon Sep 17 00:00:00 2001 From: TrueDoctor Date: Sat, 29 Sep 2018 20:22:11 +0200 Subject: added all data classes --- DSACore/Startup.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'DSACore/Startup.cs') diff --git a/DSACore/Startup.cs b/DSACore/Startup.cs index c189436..11c5607 100644 --- a/DSACore/Startup.cs +++ b/DSACore/Startup.cs @@ -29,7 +29,7 @@ namespace DSACore services.AddCors(options => options.AddPolicy("CorsPolicy", builder => { - builder.WithOrigins("https://dsa.truekuehli.de") + builder.AllowAnyOrigin()//.WithOrigins("https://dsa.truekuehli.de", "127.0.0.1") .WithHeaders("Access-Control-Allow-Origin") .AllowAnyHeader() .AllowAnyMethod() @@ -51,7 +51,7 @@ namespace DSACore // This method gets called by the runtime. Use this method to configure the HTTP request pipeline. public void Configure(IApplicationBuilder app, IHostingEnvironment env) { - if (env.IsDevelopment()) + if (env.IsDevelopment()||true) { app.UseDeveloperExceptionPage(); } -- cgit v1.2.3-54-g00ecf