Skip to content

Commit 25f2ba5

Browse files
committed
fix(ui): url for dev
1 parent bf6738f commit 25f2ba5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

web/src/urls.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ export const appPath = (() => {
1111
return "";
1212
}
1313

14-
return envValue;
14+
// Remove trailing slash if present
15+
return envValue.endsWith("/")
16+
? envValue.slice(0, -1)
17+
: envValue;
1518
})();
1619

1720
console.log({ appPath });

0 commit comments

Comments
 (0)