aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Startup.cs
diff options
context:
space:
mode:
author杨宇千 <crupest@outlook.com>2019-10-20 16:24:11 +0800
committer杨宇千 <crupest@outlook.com>2019-10-20 16:24:11 +0800
commit9bc08731aad112f100bcbc105f2cca910948651f (patch)
tree27c788de2ef4475dd50c5720209eb6f1df866130 /Timeline/Startup.cs
parentb00cfa30a4f6a1c6d896d46da7dd063abf632cd3 (diff)
downloadtimeline-9bc08731aad112f100bcbc105f2cca910948651f.tar.gz
timeline-9bc08731aad112f100bcbc105f2cca910948651f.tar.bz2
timeline-9bc08731aad112f100bcbc105f2cca910948651f.zip
...
Diffstat (limited to 'Timeline/Startup.cs')
-rw-r--r--Timeline/Startup.cs5
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>();