Skip to content

Commit

Permalink
fix: [INS-463] fix console edition (#404)
Browse files Browse the repository at this point in the history
Because

- console edition is wrong

This commit

- fix console edition
  • Loading branch information
EiffelFly committed Apr 19, 2023
1 parent d5bf012 commit 90fb623
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ NEXT_PUBLIC_API_VERSION=v1alpha
NEXT_PUBLIC_INSTILL_AI_USER_COOKIE_NAME=instill-ai-user

# The edition of the console. If you are using our open source console, you don't need to change it
NEXT_PUBLIC_CONSOLE_EDITION=local:ce-dev
NEXT_PUBLIC_CONSOLE_EDITION=local-ce:dev

# The endpoint to indicate the base url of api-gateway
NEXT_PUBLIC_API_GATEWAY_BASE_URL=http://localhost:8080
Expand Down
2 changes: 1 addition & 1 deletion src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function MyApp({ Component, pageProps }: AppPropsWithLayout) {
}

if (
env("NEXT_PUBLIC_CONSOLE_EDITION") !== "local:ce-dev" &&
env("NEXT_PUBLIC_CONSOLE_EDITION") !== "local-ce:dev" &&
!amplitudeIsInit
) {
if (env("NEXT_PUBLIC_DISABLE_USAGE_COLLECTION")) {
Expand Down

0 comments on commit 90fb623

Please sign in to comment.