Skip to content

Commit

Permalink
Update AppInit.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
lmangani authored Jan 11, 2025
1 parent ee549d9 commit ccbaeff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/common/AppInit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ const AppInitializer = ({ children }: { children: ReactNode }) => {
const envCustomPath = ( import.meta.env?.VITE_CLICKHOUSE_CUSTOM_PATH || window.env?.VITE_CLICKHOUSE_CUSTOM_PATH );

if (import.meta.env?.VITE_CLICKHOUSE_SELFSERVICE || window.env?.VITE_CLICKHOUSE_SELFSERVICE) {
const envUrlSelf = window.location.origin || false;
const envUrlSelf = window.location.origin;
setCredential({
url: envUrlSelf,
username: envUser || "stateless",
username: envUser || "default",
password: envPass || "",
useAdvanced: envUseAdvanced || false,
customPath: envCustomPath || "",
Expand Down

0 comments on commit ccbaeff

Please sign in to comment.