mirror of
https://github.com/mandiant/capa.git
synced 2025-12-05 20:40:05 -08:00
encore rdoc query paramter URL
This commit is contained in:
@@ -77,8 +77,9 @@ onMounted(() => {
|
||||
|
||||
// Check if the URL contains a rdoc parameter and load the data from that URL
|
||||
const urlParams = new URLSearchParams(window.location.search);
|
||||
const rdocURL = urlParams.get("rdoc");
|
||||
if (rdocURL) {
|
||||
const encodedRdocURL = urlParams.get("rdoc");
|
||||
if (encodedRdocURL) {
|
||||
const rdocURL = decodeURIComponent(encodedRdocURL);
|
||||
loadFromURL(rdocURL);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user