diff options
author | crupest <crupest@outlook.com> | 2020-06-02 20:18:52 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-06-02 20:18:52 +0800 |
commit | d393e939282dc394c655e10ce6016725519dc3f9 (patch) | |
tree | c193f865af7596fe9760f5b65ee1c655f5436d44 /Timeline/Startup.cs | |
parent | 3abd2446df84eeae99d27d0fc0b688702f5e77f8 (diff) | |
download | timeline-d393e939282dc394c655e10ce6016725519dc3f9.tar.gz timeline-d393e939282dc394c655e10ce6016725519dc3f9.tar.bz2 timeline-d393e939282dc394c655e10ce6016725519dc3f9.zip |
fix: Not server site.webmanifest .
Diffstat (limited to 'Timeline/Startup.cs')
-rw-r--r-- | Timeline/Startup.cs | 5 |
1 files changed, 4 insertions, 1 deletions
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();
|