Skip to content

Commit

Permalink
Fix issue in config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
stefandesu committed Nov 19, 2024
1 parent 40fbd41 commit f37ab61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ if (NODE_ENV !== "test") {
const { env } = process

let login = env.VITE_LOGIN_SERVER
if (!login.endsWith("/")) {
if (login && !login.endsWith("/")) {
login += "/"
}

Expand Down

0 comments on commit f37ab61

Please sign in to comment.