Skip to content

Commit

Permalink
fix: fix wrong config in .env file (#317)
Browse files Browse the repository at this point in the history
Because

- NEXT_PUBLIC_SELF_SIGNED_CERTIFICATION should be false by default

This commit

- Fix this config
  • Loading branch information
EiffelFly committed Jan 9, 2023
1 parent 22eaa8c commit dd739d3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ NEXT_PUBLIC_INSTILL_AI_USER_COOKIE_NAME=instill-ai-user
NEXT_PUBLIC_CONSOLE_EDITION=local:ce-dev
NEXT_PUBLIC_DISABLE_USAGE_COLLECTION=false
NEXT_PUBLIC_API_GATEWAY_BASE_URL=https://localhost:8080
NEXT_PUBLIC_SELF_SIGNED_CERTIFICATION=true
NEXT_PUBLIC_SELF_SIGNED_CERTIFICATION=false
3 changes: 2 additions & 1 deletion playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ const config: PlaywrightTestConfig = {
trace: "on-first-retry",
baseURL: process.env.NEXT_PUBLIC_CONSOLE_BASE_URL,

// Because our backend is served with self-signed certification, we have to ignore HTTPS error.
// Because our backend is served with self-signed certification, we have to
// ignore HTTPS error when operate the e2e test.
ignoreHTTPSErrors: true,
},

Expand Down

0 comments on commit dd739d3

Please sign in to comment.