diff options
author | 杨宇千 <crupest@outlook.com> | 2019-10-20 16:24:11 +0800 |
---|---|---|
committer | 杨宇千 <crupest@outlook.com> | 2019-10-20 16:24:11 +0800 |
commit | 9bc08731aad112f100bcbc105f2cca910948651f (patch) | |
tree | 27c788de2ef4475dd50c5720209eb6f1df866130 /Timeline/Startup.cs | |
parent | b00cfa30a4f6a1c6d896d46da7dd063abf632cd3 (diff) | |
download | timeline-9bc08731aad112f100bcbc105f2cca910948651f.tar.gz timeline-9bc08731aad112f100bcbc105f2cca910948651f.tar.bz2 timeline-9bc08731aad112f100bcbc105f2cca910948651f.zip |
...
Diffstat (limited to 'Timeline/Startup.cs')
-rw-r--r-- | Timeline/Startup.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Timeline/Startup.cs b/Timeline/Startup.cs index ddbe0840..72c9bf32 100644 --- a/Timeline/Startup.cs +++ b/Timeline/Startup.cs @@ -50,6 +50,11 @@ namespace Timeline );
});
+ services.AddLocalization(options =>
+ {
+ options.ResourcesPath = "Resources";
+ });
+
services.AddScoped<IUserService, UserService>();
services.AddScoped<IJwtService, JwtService>();
services.AddTransient<IPasswordService, PasswordService>();
|