Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
clean up
  • Loading branch information
flotwig committed Sep 22, 2020
commit 107a993bed5c38ab734e5fd98baaa6f4fcd1f86b
4 changes: 2 additions & 2 deletions packages/driver/src/cypress/location.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ class $Location {
}

static fullyQualifyUrl (url) {
return new URL(url, window.location.origin).toString()
return $Location.resolve(window.location.origin, url)
}

static mergeUrlWithParams (url, params) {
Expand Down Expand Up @@ -192,7 +192,7 @@ class $Location {
}

static qualifyWithBaseUrl (baseUrl, url) {
return new URL(url, baseUrl).toString()
return $Location.resolve(baseUrl, url)
}

static isAbsoluteRelative (segment) {
Expand Down