aboutsummaryrefslogtreecommitdiff
path: root/Timeline
diff options
context:
space:
mode:
Diffstat (limited to 'Timeline')
-rw-r--r--Timeline/Properties/launchSettings.json7
-rw-r--r--Timeline/Startup.cs5
2 files changed, 11 insertions, 1 deletions
diff --git a/Timeline/Properties/launchSettings.json b/Timeline/Properties/launchSettings.json
index 4bae443c..10c819c0 100644
--- a/Timeline/Properties/launchSettings.json
+++ b/Timeline/Properties/launchSettings.json
@@ -6,6 +6,13 @@
"ASPNETCORE_ENVIRONMENT": "Development",
"ASPNETCORE_WORKDIR": "D:\\timeline-development"
}
+ },
+ "Timeline-Staging": {
+ "commandName": "Project",
+ "environmentVariables": {
+ "ASPNETCORE_ENVIRONMENT": "Staging",
+ "ASPNETCORE_WORKDIR": "D:\\timeline-development"
+ }
}
}
}
diff --git a/Timeline/Startup.cs b/Timeline/Startup.cs
index 5dbc99e6..afcb97ac 100644
--- a/Timeline/Startup.cs
+++ b/Timeline/Startup.cs
@@ -114,7 +114,10 @@ namespace Timeline
app.UseRouting();
- app.UseSpaStaticFiles();
+ app.UseSpaStaticFiles(new StaticFileOptions
+ {
+ ServeUnknownFileTypes = true
+ });
app.UseAuthentication();
app.UseAuthorization();