Skip to content

Commit

Permalink
add environment
Browse files Browse the repository at this point in the history
  • Loading branch information
marion-sgr committed Feb 2, 2024
1 parent adf4cf0 commit 89951b6
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,3 @@ amplifytools.xcconfig
.secret-*
**.sample
#amplify-do-not-edit-end
src/environments/environment.ts
3 changes: 2 additions & 1 deletion src/app/services/app.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ export class AppService {
getbyId(id: number) {
throw new Error('Method not implemented.');
}
api = 'http://localhost:3000/v1';
// api = 'http://localhost:3000/v1';
api = 'https://potits-chats-back.vercel.app/v1';

constructor(private http: HttpClient) {}

Expand Down
10 changes: 10 additions & 0 deletions src/environments/environment.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
export const environment = {
production: false,
auth: {
domain: 'dev-potitschat.eu.auth0.com',
clientId: 'eTJncrvP8o5RyOMhuUlXod6OG4Iqgl2h',
authorizationParams: {
redirect_uri: window.location.origin,
},
},
};

0 comments on commit 89951b6

Please sign in to comment.