HOTFIX: nie działały URL-e, które mają '#'
This commit is contained in:
parent
3a32456534
commit
aae1a7e970
@ -38,7 +38,7 @@ interface screenshotTask {
|
||||
}
|
||||
|
||||
function createTaskEndpoint(visited_url: string, domains: string[]) {
|
||||
return `${SS_URL}/api/requests?url=${visited_url}${domains.reduce(
|
||||
return `${SS_URL}/api/requests?url=${encodeURIComponent(visited_url)}${domains.reduce(
|
||||
(prev: string, curr: string) => prev + '&domains[]=' + curr,
|
||||
''
|
||||
)}`;
|
||||
|
Loading…
Reference in New Issue
Block a user