summaryrefslogtreecommitdiff
path: root/DSACore/Startup.cs
diff options
context:
space:
mode:
Diffstat (limited to 'DSACore/Startup.cs')
-rw-r--r--DSACore/Startup.cs4
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();
}