We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10c2b95 commit 3badf6bCopy full SHA for 3badf6b
src/common/util.ts
@@ -46,7 +46,7 @@ export const trimSlashes = (url: string): string => {
46
export const resolveBase = (base?: string): string => {
47
// After resolving the base will either start with / or be an empty string.
48
if (!base || base.startsWith("/")) {
49
- return base || ""
+ return base ?? ""
50
}
51
const parts = location.pathname.split("/")
52
parts[parts.length - 1] = base
0 commit comments