Skip to content

Commit

Permalink
fix: fix issue for localhost on the server side
Browse files Browse the repository at this point in the history
  • Loading branch information
EiffelFly committed Jul 12, 2024
1 parent 7a9c490 commit 99c2ff5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/console/.env
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ NEXT_PUBLIC_GENERAL_API_VERSION=v1beta
NEXT_PUBLIC_MODEL_API_VERSION=v1alpha
NEXT_PUBLIC_INSTILL_AI_USER_COOKIE_NAME=instill-ai-user
NEXT_PUBLIC_CONSOLE_EDITION=local-ce:dev
NEXT_PUBLIC_API_GATEWAY_URL=http://localhost:8080

# https://github.com/vercel/next.js/issues/44062
NEXT_PUBLIC_API_GATEWAY_URL=http://127.0.0.1:8080
NEXT_SERVER_API_GATEWAY_URL=http://localhost:8080
NEXT_PUBLIC_SELF_SIGNED_CERTIFICATION=false
NEXT_PUBLIC_DISABLE_CREATE_UPDATE_DELETE_RESOURCE=false
Expand Down

0 comments on commit 99c2ff5

Please sign in to comment.