Skip to content
This repository was archived by the owner on Apr 28, 2023. It is now read-only.

Commit 70092b6

Browse files
committed
[UPDATE] double encodeURIComponent to avoid Vercel issue
1 parent f31fa3b commit 70092b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ <h1>
203203
const action = el.querySelector('.action').value;
204204
return name + ':' + field + ':' + action;
205205
});
206-
Clipboard.copy(base_url + '/schema-chart/' + (res[1] || "") + '/' + (res[2] || "") + '?s=' + encodeURIComponent(data.join(',')) + '&t=' + chartType.value);
206+
Clipboard.copy(base_url + '/schema-chart/' + (res[1] || "") + '/' + (res[2] || "") + '?s=' + encodeURIComponent(encodeURIComponent(data.join(','))) + '&t=' + chartType.value);
207207
}
208208

209209
document.getElementById("input").addEventListener('input', handleInputs);

0 commit comments

Comments
 (0)