diff options
author | Nayeem Rahman <muhammed.9939@gmail.com> | 2019-09-11 21:20:54 +0100 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-09-11 16:20:54 -0400 |
commit | ad11f2ad6aae758e67734d60f068285fb5e10655 (patch) | |
tree | f78d2fbb82ac5e84361eb916f585984071131e0d /js/url.ts | |
parent | f38bd45bf98cf5a642e2b89b4b7369548025995d (diff) |
Default base URL path to '/' (#2921)
Diffstat (limited to 'js/url.ts')
-rw-r--r-- | js/url.ts | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -333,7 +333,7 @@ export class URL { password: baseParts.password, hostname: baseParts.hostname, port: baseParts.port, - path: resolvePathFromBase(urlParts.path, baseParts.path), + path: resolvePathFromBase(urlParts.path, baseParts.path || "/"), query: urlParts.query, hash: urlParts.hash }; |