Skip to content

Commit 591bf91

Browse files
committed
improve config ip to ez change mode
1 parent 42896f6 commit 591bf91

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/app/core/services/config-service/api.enpoints.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ import {
88
} from '../../models/organization.model';
99
import { SearchingUser } from '../../models/user.models';
1010

11-
export const version = '';
11+
export const version = 'v1';
1212

1313
export const API_CONFIG = {
1414
BASE_URLS: {
15-
MAIN_API: environment.IP_SERVER,
15+
MAIN_API: environment.IP_SERVER_LOCAL,
1616
SECONDARY_API: '',
1717
},
1818
ENDPOINTS: {

src/environments/environment.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
export const environment = {
22
production: false,
33
IP_SERVER: '/api',
4+
IP_SERVER_LOCAL: 'http://localhost:8888/api/',
45
};

0 commit comments

Comments
 (0)