Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
KhaiNguyenDuc committed Jul 14, 2024
2 parents 283db96 + ac8d219 commit bf081d2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions front-end/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#### Stage 1: Build the react application
FROM node:12.4.0-alpine as build
FROM node:22-alpine3.19 as build

# Configure the main working directory inside the docker image.
# This is the base directory used in any further RUN, COPY, and ENTRYPOINT
Expand All @@ -22,4 +22,4 @@ RUN npm run build
EXPOSE 3000

# Start the Node.js server
CMD ["npm", "start"]
CMD ["npm", "start"]
4 changes: 2 additions & 2 deletions front-end/src/utils/Constant.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const HOST = 'api/v1'
export const ROOT = 'https://khainguyenduc.id.vn'
export const ROOT = 'https://nguyenduckhai.site'
export const GOOGLE_CLIENT_ID = '990887837910-pml8dp7e0lhotrolcprggedblnfki2no.apps.googleusercontent.com'
export const TXT_TYPE = 'text/plain';
export const PDF_TYPE = 'application/pdf';
Expand Down Expand Up @@ -35,4 +35,4 @@ export const UNSUPPORT_MEDIA_TYPE_MSG = "Chỉ hỗ trợ file .txt, .pdf, .docx
export const TRY_AGAIN_MSG = "Có lỗi xảy ra, có thể nội dung của không hợp lệ, vui lòng thử lại sau."
export const GENERATE_LENGTH_INVALID = "Nội dung không hợp lệ."
export const GENERATE_LENGTH_SHORT = "Nội dung không được để trống hoặc ít hơn 90 ký tự."
export const USERNAME_EXIST = "Tên đăng nhập đã tồn tại";
export const USERNAME_EXIST = "Tên đăng nhập đã tồn tại";

0 comments on commit bf081d2

Please sign in to comment.