diff options
author | TrueDoctor <d-kobert@web.de> | 2018-09-29 20:22:11 +0200 |
---|---|---|
committer | TrueDoctor <d-kobert@web.de> | 2018-09-29 20:22:11 +0200 |
commit | 33dc613fffad69c1c608e21eac6fcd3f2954ead8 (patch) | |
tree | a30876c8effdb19472873539afdbb232e8081bb8 /DSACore/Startup.cs | |
parent | 6caf0178d0132a9e70144094957a8a6dcee666e5 (diff) |
added all data classes
Diffstat (limited to 'DSACore/Startup.cs')
-rw-r--r-- | DSACore/Startup.cs | 4 |
1 files changed, 2 insertions, 2 deletions
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(); } |