Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: TTA-180 fixing environment variables
  • Loading branch information
Rodrigo Lins committed Oct 14, 2022
commit 7e358e2f8696effc1502d6addd9dc5d38c0452cf
2 changes: 2 additions & 0 deletions .github/workflows/CD-time-tracker-ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ jobs:
CLIENT_ID: ${{ secrets.client_id }}
CLIENT_URL: ${{ secrets.client_url }}
STACK_EXCHANGE_ID: ${{ secrets.stack_exchange_id }}
AUTH_URL: ${{ secrets.AUTH_URL }}
AUTH_APP_NAME: ${{ secrets.AUTH_APP_NAME }}
STACK_EXCHANGE_ACCESS_TOKEN: ${{ secrets.stack_exchange_access_token }}
AZURE_APP_CONFIGURATION_CONNECTION_STRING: ${{ secrets.azure_app_configuration_connection_string }}
run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/CI-time-tracker-ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ jobs:
SCOPES: ${{ secrets.SCOPES }}
CLIENT_ID: ${{ secrets.CLIENT_ID }}
CLIENT_URL : ${{ secrets.CLIENT_URL }}
AUTH_URL: ${{ secrets.AUTH_URL }}
AUTH_APP_NAME: ${{ secrets.AUTH_APP_NAME }}
STACK_EXCHANGE_ID: ${{ secrets.STACK_EXCHANGE_ID }}
STACK_EXCHANGE_ACCESS_TOKEN: ${{ secrets.STACK_EXCHANGE_ACCESS_TOKEN }}
AZURE_APP_CONFIGURATION_CONNECTION_STRING: ${{ secrets.AZURE_APP_CONFIGURATION_CONNECTION_STRING }}
Expand Down
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ services:
timetracker_ui:
container_name: timetracker_ui
image: timetracker_ui
env_file:
- .dev.env
build:
context: .
dockerfile: ./Docker/Dockerfile.dev
Expand Down
1 change: 0 additions & 1 deletion src/app/modules/login/services/login.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ export class LoginService {
this.cookieService.deleteAll();
this.invalidateSessionCookie().toPromise().then(() => {
this.router.navigate(['login']);
console.log()
});
}

Expand Down
4 changes: 2 additions & 2 deletions src/environments/environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ export const environment = {
production: EnvironmentType.TT_DEV,
timeTrackerApiUrl: process.env['API_URL'],
stackexchangeApiUrl: 'https://api.stackexchange.com',
authUrl: 'https://uat-backend.auth.ioet.com',
authAppName: 'timeTracker',
authUrl: process.env['AUTH_URL'],
authAppName: process.env['AUTH_APP_NAME'],
};

export const AUTHORITY = process.env['AUTHORITY'];
Expand Down