Skip to content

Commit 88848b8

Browse files
committed
✨ add new production url backend
1 parent 1375f83 commit 88848b8

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/app/auth/components/login/login.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ export class LoginComponent implements OnInit {
2424

2525
loadForm() {
2626
this.loginForm = this.fb.group({
27-
email: ['', Validators.required],
28-
password: ['', Validators.required]
27+
email: ['[email protected]', Validators.required],
28+
password: ['Mysecret12345$', Validators.required]
2929
});
3030
}
3131

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
export interface ILogin {
22
readonly email: string,
33
readonly password: string
4-
}
4+
}

src/app/shared/news-container/news-container.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export class NewsContainerComponent implements OnInit {
4646
}
4747

4848
updatePreferences(idFeed: string): void {
49-
this.userService.modifyPreferences(idFeed, 'saved').subscribe(resp => {
49+
this.userService.modifyPreferences(idFeed, 'saved').subscribe((resp) => {
5050
this.feeds.map(feed => {
5151
if(feed._id === idFeed) {
5252
feed.inUser = !feed.inUser;

src/environments/environment.prod.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
export const environment = {
22
production: true,
3-
base_url: 'https://inforeader-app.herokuapp.com/api',
3+
base_url: 'https://inforeader-backend.up.railway.app/api/v1',
44
};

0 commit comments

Comments
 (0)