Skip to content

Commit

Permalink
fix redundant port number in url
Browse files Browse the repository at this point in the history
  • Loading branch information
mayswind committed Oct 23, 2022
1 parent 25f9a64 commit d6b2c70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers/url.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ const getDocumentUrlForFile = (fileDir, fileId) => {
}

const getNextcloudUrl = () => {
return window.location.host + (window.location.port ? `:${window.location.port}` : '')
return window.location.host
}

export {
Expand Down

0 comments on commit d6b2c70

Please sign in to comment.