diff options
author | 杨宇千 <crupest@outlook.com> | 2019-08-08 17:13:14 +0800 |
---|---|---|
committer | 杨宇千 <crupest@outlook.com> | 2019-08-08 17:13:14 +0800 |
commit | a35030d0a379ed7ee7fdd403449f53743209059c (patch) | |
tree | cb3d30bbfa8b4c3f34912e687650bfad7a3dc422 /Timeline/Startup.cs | |
parent | ed85aa28b49789aa413a7e10637368c812411640 (diff) | |
download | timeline-a35030d0a379ed7ee7fdd403449f53743209059c.tar.gz timeline-a35030d0a379ed7ee7fdd403449f53743209059c.tar.bz2 timeline-a35030d0a379ed7ee7fdd403449f53743209059c.zip |
2 things.
1. Make Administrator in UserPutRequest nullable.
2. Remove default route.
Diffstat (limited to 'Timeline/Startup.cs')
-rw-r--r-- | Timeline/Startup.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Timeline/Startup.cs b/Timeline/Startup.cs index a28899f4..414bc705 100644 --- a/Timeline/Startup.cs +++ b/Timeline/Startup.cs @@ -89,7 +89,7 @@ namespace Timeline app.UseAuthentication();
- app.UseMvcWithDefaultRoute();
+ app.UseMvc();
}
}
}
|