Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions src/app/core/models/user.models.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
//ví dụ
export const DEFAULT_BG = 'https://wallpaper.dog/large/10932813.jpg';
export const DEFAULT_AVATAR =
'https://i.pinimg.com/736x/91/12/02/911202d369ed382e806e246dca39399e.jpg';
export const DEFAULT_BG =
'https://i.pinimg.com/736x/2f/5f/0e/2f5f0e56562fbef9ca734f233fa2c0b0.jpg';
'https://static.vecteezy.com/system/resources/previews/023/329/545/large_2x/user-profile-shadow-symbol-icon-isolated-illustration-vector.jpg';

export type User = {
userId: string; // id của user
Expand Down
2 changes: 1 addition & 1 deletion src/app/core/services/config-service/api.enpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const version = 'v1';

export const API_CONFIG = {
BASE_URLS: {
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.
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.
SECONDARY_API: '',
},
ENDPOINTS: {
Expand Down
Loading
Loading