Skip to content

Commit

Permalink
Fix resolveBaseURL so that non-serverless deployments derive the base…
Browse files Browse the repository at this point in the history
…Url from the url bar
  • Loading branch information
nathandf committed Jul 5, 2024
1 parent 0acc92f commit 9efbec8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/resolveBasePath.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export const resolveBasePath = () => {
let baseUrl = import.meta.env.VITE_TAPIS_BASE_URL;
if (import.meta.env.VITE_SERVERLESS_DEPLOYMENT === 'false') {
if (import.meta.env.VITE_SERVERLESS_DEPLOYMENT !== 'true') {
baseUrl = window.location.origin;
}

Expand Down

0 comments on commit 9efbec8

Please sign in to comment.