Skip to content

Commit 77fe16c

Browse files
authored
Merge pull request #234 from CapstoneProjectCMC/feature/ulr-user-learning-resources
Feature/ulr user learning resources
2 parents e14b3c0 + 14e6116 commit 77fe16c

File tree

25 files changed

+788
-715
lines changed

25 files changed

+788
-715
lines changed

src/app/core/models/user.models.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
//ví dụ
2+
export const DEFAULT_BG = 'https://wallpaper.dog/large/10932813.jpg';
23
export const DEFAULT_AVATAR =
3-
'https://i.pinimg.com/736x/91/12/02/911202d369ed382e806e246dca39399e.jpg';
4-
export const DEFAULT_BG =
5-
'https://i.pinimg.com/736x/2f/5f/0e/2f5f0e56562fbef9ca734f233fa2c0b0.jpg';
4+
'https://static.vecteezy.com/system/resources/previews/023/329/545/large_2x/user-profile-shadow-symbol-icon-isolated-illustration-vector.jpg';
65

76
export type User = {
87
userId: string; // id của user

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export const version = 'v1';
1212

1313
export const API_CONFIG = {
1414
BASE_URLS: {
15-
MAIN_API: environment.IP_SERVER, //chạy ở local thì đổi ip thành IP_SERVER_LOCAL và thêm "+ version" vào chuỗi MAIN_API (sau IP). push lên github nhớ stash commit hoặc không làm thay đổi dòng này.
15+
MAIN_API: environment.IP_SERVER_LOCAL + version, //chạy ở local thì đổi ip thành IP_SERVER_LOCAL và thêm "+ version" vào chuỗi MAIN_API (sau IP). push lên github nhớ stash commit hoặc không làm thay đổi dòng này.
1616
SECONDARY_API: '',
1717
},
1818
ENDPOINTS: {

0 commit comments

Comments
 (0)