Skip to content

Commit 0f628f3

Browse files
committed
Use relative API endpoint definitions
1 parent 13e22bb commit 0f628f3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
export const environment = {
22
production: true,
3-
API_ENDPOINT: 'https://localhost/api'
3+
API_ENDPOINT: '/api'
44
};

Angular/src/environments/environment.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55

66
export const environment = {
77
production: false,
8-
API_ENDPOINT: 'http://127.0.0.1:8888/api'
8+
API_ENDPOINT: '/api'
99
};

0 commit comments

Comments
 (0)