Skip to content

Commit

Permalink
Fix baseurl bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dtcooper authored Aug 12, 2023
1 parent 1dcd2bf commit 989502e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ if (squirrelCheck || !singleInstanceLock) {
})

const baseUrl =
app.isPackaged || isDev
(!app.isPackaged && isDev)
? "http://localhost:3000/"
: `file://${path.normalize(path.join(__dirname, "..", "index.html"))}`
const url = `${baseUrl}?userDataDir=${encodeURIComponent(userDataDir)}&dev=${isDev ? "1" : "0"}`
Expand Down

0 comments on commit 989502e

Please sign in to comment.