Skip to content
This repository was archived by the owner on Aug 1, 2021. It is now read-only.

Commit e121d24

Browse files
committed
rename appsettings.json, cuz it's case sensitive
1 parent a3a332c commit e121d24

File tree

5 files changed

+6
-38
lines changed

5 files changed

+6
-38
lines changed

build/docker-run.bat

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1+
@echo off
2+
cd /d %~dp0
3+
ECHO This script will update your HOST file with an entry 127.0.0.1 jpproject (Pre req for docker-compose). Then will run compose
14
pause
25
start /shared update-host.bat
36

47
ECHO Running compose
58
docker-compose up
6-
PAUSE
9+
PAUSE

build/jpproject-docker-windows.zip

106 Bytes
Binary file not shown.

build/update-host.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%>>%WINDIR%\system32\drivers\etc\hosts
1010
IF %ERRORLEVEL% NEQ 0 ECHO 127.0.0.1 jpproject>>%WINDIR%\system32\drivers\etc\hosts
1111
ECHO Finished
1212
ECHO.
13+
EXIT

src/Backend/Jp.Infra.CrossCutting.IoC/IdentityBootStrapper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ internal class IdentityBootStrapper
1414
public static void RegisterServices(IServiceCollection services, IConfiguration config)
1515
{
1616
// Infra - Identity Services
17+
services.AddSingleton<IEmailConfiguration>(config.GetSection("EmailConfiguration").Get<EmailConfiguration>());
1718
services.AddTransient<IEmailSender, AuthEmailMessageSender>();
1819
services.AddTransient<ISmsSender, AuthSMSMessageSender>();
1920
services.AddTransient<IUserService, UserService>();
2021
services.AddTransient<IRoleService, RoleService>();
21-
services.AddSingleton<IEmailConfiguration>(config.GetSection("EmailConfiguration").Get<EmailConfiguration>());
2222
services.AddSingleton<IImageStorage, AzureImageStoreService>();
2323

2424
// Infra - Identity

src/Backend/Jp.UserManagement/appSettings.json

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)