Skip to content

Commit 5553f2b

Browse files
authored
Merge pull request #24 from digitsontr/feature/updatePublishSettings
updated publish configurations
2 parents 6d524fb + c073a80 commit 5553f2b

File tree

7 files changed

+103
-3
lines changed

7 files changed

+103
-3
lines changed

RoomieRosterWeb.sln

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,15 @@ Global
99
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1010
Debug|Any CPU = Debug|Any CPU
1111
Release|Any CPU = Release|Any CPU
12+
Develop|Any CPU = Develop|Any CPU
1213
EndGlobalSection
1314
GlobalSection(ProjectConfigurationPlatforms) = postSolution
1415
{5348BFB1-0787-4C23-99D9-632672873E47}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
1516
{5348BFB1-0787-4C23-99D9-632672873E47}.Debug|Any CPU.Build.0 = Debug|Any CPU
1617
{5348BFB1-0787-4C23-99D9-632672873E47}.Release|Any CPU.ActiveCfg = Release|Any CPU
1718
{5348BFB1-0787-4C23-99D9-632672873E47}.Release|Any CPU.Build.0 = Release|Any CPU
19+
{5348BFB1-0787-4C23-99D9-632672873E47}.Develop|Any CPU.ActiveCfg = Debug|Any CPU
20+
{5348BFB1-0787-4C23-99D9-632672873E47}.Develop|Any CPU.Build.0 = Debug|Any CPU
1821
EndGlobalSection
1922
GlobalSection(SolutionProperties) = preSolution
2023
HideSolutionNode = FALSE

RoomieRosterWeb/Properties/launchSettings.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,14 @@
3232
"environmentVariables": {
3333
"ASPNETCORE_ENVIRONMENT": "Development"
3434
}
35+
},
36+
"develop": {
37+
"commandName": "Project",
38+
"launchBrowser": true,
39+
"applicationUrl": "https://localhost:45715;http://localhost:31666",
40+
"environmentVariables": {
41+
"ASPNETCORE_ENVIRONMENT": "Develop"
42+
}
3543
}
3644
}
3745
}

RoomieRosterWeb/RoomieRosterWeb.csproj

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,23 @@
99

1010
<PropertyGroup Condition=" '$(RunConfiguration)' == 'https' " />
1111
<PropertyGroup Condition=" '$(RunConfiguration)' == 'http' " />
12+
<PropertyGroup Condition=" '$(RunConfiguration)' == 'develop' " />
13+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
14+
<DebugSymbols>true</DebugSymbols>
15+
<DebugType>full</DebugType>
16+
<DefineConstants>DEBUG;TRACE</DefineConstants>
17+
<EnvironmentName>Development</EnvironmentName>
18+
</PropertyGroup>
19+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
20+
<DebugType>pdbonly</DebugType>
21+
<Optimize>true</Optimize>
22+
<EnvironmentName>Production</EnvironmentName>
23+
</PropertyGroup>
24+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Develop|AnyCPU'">
25+
<DebugType>pdbonly</DebugType>
26+
<Optimize>true</Optimize>
27+
<EnvironmentName>Develop</EnvironmentName>
28+
</PropertyGroup>
1229
<ItemGroup>
1330
<None Remove="Views\Favourites\" />
1431
<None Remove="Views\Chat\" />
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"Logging": {
3+
"LogLevel": {
4+
"Default": "Information",
5+
"Microsoft.AspNetCore": "Warning"
6+
}
7+
},
8+
"TokenOption": {
9+
"Audience": [ "www.memorengapi.com" ],
10+
"Issuer": "www.memorengapi.com",
11+
"AccessTokenExpiration": 1440,
12+
"RefreshTokenExpiration": 14400,
13+
"SecurityKey": "pZ7zEJrPbm8bRNeTtLpH7VcMLWxGKFfQOoX9qih2vAukjCSsIy0wYD5Ua1gd6*w"
14+
},
15+
"AllowedHosts": "*",
16+
"MatchApi": {
17+
"BaseUrl": "https://develop-api.roomieroster.com/api/",
18+
"Endpoints": {
19+
"Auth": {
20+
"Register": "Auth/Register",
21+
"Login": "Auth/Login",
22+
"ForgotPassword": "Auth/ForgotPassword",
23+
"ResetPassword": "Auth/ResetPassword",
24+
"CreateTokenByRefreshToken": "Auth/CreateTokenByRefreshToken",
25+
"RevokeRefreshToken": "Auth/RevokeRefreshToken",
26+
"ConfirmEmail": "Auth/ConfirmEmail"
27+
},
28+
"Match": "Match",
29+
"Preferences": "Preferences",
30+
"User": {
31+
"GetById": "User/",
32+
"GetFollows": "User/GetFollows",
33+
"Follow": "User/Follow",
34+
"UnFollow": "User/UnFollow",
35+
"DisableUser": "User/DisableUser",
36+
"EnableUser": "Usser/EnableUser"
37+
}
38+
}
39+
}
40+
}
41+

RoomieRosterWeb/appsettings.Development.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,38 @@
44
"Default": "Information",
55
"Microsoft.AspNetCore": "Warning"
66
}
7+
},
8+
"TokenOption": {
9+
"Audience": [ "www.memorengapi.com" ],
10+
"Issuer": "www.memorengapi.com",
11+
"AccessTokenExpiration": 1440,
12+
"RefreshTokenExpiration": 14400,
13+
"SecurityKey": "pZ7zEJrPbm8bRNeTtLpH7VcMLWxGKFfQOoX9qih2vAukjCSsIy0wYD5Ua1gd6*w"
14+
},
15+
"AllowedHosts": "*",
16+
"MatchApi": {
17+
"BaseUrl": "https://localhost:7032/api/",
18+
"Endpoints": {
19+
"Auth": {
20+
"Register": "Auth/Register",
21+
"Login": "Auth/Login",
22+
"ForgotPassword": "Auth/ForgotPassword",
23+
"ResetPassword": "Auth/ResetPassword",
24+
"CreateTokenByRefreshToken": "Auth/CreateTokenByRefreshToken",
25+
"RevokeRefreshToken": "Auth/RevokeRefreshToken",
26+
"ConfirmEmail": "Auth/ConfirmEmail"
27+
},
28+
"Match": "Match",
29+
"Preferences": "Preferences",
30+
"User": {
31+
"GetById": "User/",
32+
"GetFollows": "User/GetFollows",
33+
"Follow": "User/Follow",
34+
"UnFollow": "User/UnFollow",
35+
"DisableUser": "User/DisableUser",
36+
"EnableUser": "Usser/EnableUser"
37+
}
38+
}
739
}
840
}
941

RoomieRosterWeb/appsettings.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414
},
1515
"AllowedHosts": "*",
1616
"MatchApi": {
17-
"BaseUrl": "https://localhost:7032/api/"
18-
/*"BaseUrl": "https://api.roomieroster.com/api/"*/,
17+
"BaseUrl": "https://api.roomieroster.com/api/",
1918
"Endpoints": {
2019
"Auth": {
2120
"Register": "Auth/Register",

RoomieRosterWeb/wwwroot/js/site.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66

77
window.config = {
88
accessToken: document.cookie.split('AccessToken=').slice(-1)[0].split(';')[0],
9-
baseUrl: 'https://roomieroster.com/'
9+
baseUrl: 'https://localhost:7032/'
1010
}

0 commit comments

Comments
 (0)