Skip to content

Commit

Permalink
hotfix2
Browse files Browse the repository at this point in the history
  • Loading branch information
remko48 committed Sep 13, 2024
1 parent 038f902 commit a882ec7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pwa/src/hooks/useEnvironment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const useEnvironment = () => {
window.sessionStorage.setItem("BASE_URL", process.env.GATSBY_BASE_URL ?? "");
window.sessionStorage.setItem(
"NEXTCLOUD_API_URL",
process.env.GATSBY_NEXTCLOUD_BASE_URL ?? "http://nextcloud.local/index.php/apps/opencatalogi/api",
process.env.GATSBY_NEXTCLOUD_API_URL ?? "http://nextcloud.local/index.php/apps/opencatalogi/api",
);
window.sessionStorage.setItem("NL_DESIGN_THEME_CLASSNAME", process.env.GATSBY_NL_DESIGN_THEME_CLASSNAME ?? "");
window.sessionStorage.setItem("GITHUB_ORGANIZATION_URL", process.env.GATSBY_GITHUB_ORGANIZATION_URL ?? "");
Expand Down Expand Up @@ -86,7 +86,7 @@ export const useEnvironment = () => {
window.sessionStorage.setItem("API_URL", config.GATSBY_API_URL ?? "");
window.sessionStorage.setItem(
"NEXTCLOUD_API_URL",
config.GATSBY_NEXTCLOUD_BASE_URL ?? "http://nextcloud.local/index.php/apps/opencatalogi/api",
config.GATSBY_NEXTCLOUD_API_URL ?? "http://nextcloud.local/index.php/apps/opencatalogi/api",
);
window.sessionStorage.setItem("BASE_URL", config.GATSBY_BASE_URL ?? "");
window.sessionStorage.setItem("NL_DESIGN_THEME_CLASSNAME", config.GATSBY_NL_DESIGN_THEME_CLASSNAME ?? "");
Expand Down

0 comments on commit a882ec7

Please sign in to comment.