Skip to content

Commit

Permalink
Update src/utils/media-utils.js
Browse files Browse the repository at this point in the history
Co-authored-by: Takahiro <[email protected]>
  • Loading branch information
keianhzo and takahirox authored Sep 15, 2023
1 parent 25202db commit 1c1bda2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/media-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ export function parseURL(text) {
}

export async function resolveMediaInfo(urlString) {
//check if url is an anchor hash e.g. #Spawn_Point_1
// check if url is an anchor hash e.g. #Spawn_Point_1
if (urlString.charAt(0) === "#") {
urlString = `${window.location.origin}${window.location.pathname}${window.location.search}${urlString}`;
}
Expand Down

0 comments on commit 1c1bda2

Please sign in to comment.