Skip to content

Commit c450ae6

Browse files
committed
✔ Fixx ~
1 parent 72fdc6a commit c450ae6

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

dist/alt-site/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
<!-- Main Site -->
7474
<body>
7575
<app-root></app-root>
76-
<script src="runtime.b6dbb37aa2bfb5ee.js" type="module"></script><script src="polyfills.767a67883ab9c697.js" type="module"></script><script src="main.f3ede200bf803383.js" type="module"></script>
76+
<script src="runtime.b6dbb37aa2bfb5ee.js" type="module"></script><script src="polyfills.767a67883ab9c697.js" type="module"></script><script src="main.4d794f6265782c71.js" type="module"></script>
7777

7878

7979
</body></html>
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

projects/alt-site/src/app/app.component.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ import { Observable } from 'rxjs';
66
import { timeout, retry } from 'rxjs/operators';
77
import { UploadState, Uploader, UploadxService } from 'ngx-uploadx';
88

9+
import { environment } from '../environment';
10+
911
import { CONSTANTS } from '../../../main-site/src/constants';
1012

1113
@Component({
@@ -148,7 +150,7 @@ export class AppComponent implements OnInit, OnDestroy {
148150
if (this.subsAttachment) {
149151
this.subsAttachment.unsubscribe();
150152
}
151-
this.subsAttachment = this.getData(`http://localhost:4200/api/fanshare?q=${this.q}&page=${this.page}&row=${this.row}&sort=${this.sort}&order=${this.order}`).subscribe({
153+
this.subsAttachment = this.getData(`${environment.apiUrl}/api/fanshare?q=${this.q}&page=${this.page}&row=${this.row}&sort=${this.sort}&order=${this.order}`).subscribe({
152154
next: res => {
153155
console.log('[BERKAS_LIST_SUCCESS]', res);
154156
this.count = res.count;

0 commit comments

Comments
 (0)