Skip to content

Commit a5aa417

Browse files
committed
update url api
1 parent ff5df48 commit a5aa417

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

src/app/environments/environment.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-
apiUrl: 'http://api-confess-production.up.railway.app',
3+
apiUrl: 'https://api-ejs-confess-production.up.railway.app',
44
};

src/app/services/tagged.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { TaggedConfess } from '../models/tagged.model'; // Import model TaggedCo
77
providedIn: 'root',
88
})
99
export class TaggedService {
10-
private apiUrl = 'http://localhost:3000/tagged'; // URL API untuk tagged confesses
10+
private apiUrl = 'https://api-ejs-confess-production.up.railway.app/tagged'; // URL API untuk tagged confesses
1111

1212
constructor(private http: HttpClient) {}
1313

src/app/view-confess/view-confess.component.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ <h3 class="text-2xl font-semibold text-gray-800 mb-2">
2020
<div class="flex items-center justify-between text-sm text-gray-500">
2121
<div>
2222
<p><strong>Pengirim:</strong> {{ confess.user?.name || 'Tidak diketahui' }}</p>
23-
<p><strong>Email:</strong> {{ confess.user?.email || 'Tidak diketahui' }}</p>
23+
<!-- <p><strong>Email:</strong> {{ confess.user?.email || 'Tidak diketahui' }}</p> -->
24+
<p><strong>Email:</strong> {{ 'Tidak diketahui' }}</p>
2425
</div>
2526
<p><strong>Tanggal:</strong> {{ confess.createdAt | date: 'short' }}</p>
2627
</div>

0 commit comments

Comments
 (0)