Closed olgasalas closed 1 year ago
When trying to open an existing layer directly in the URL, the queryParam layerURL needs to be called with # instead of ?.
layerURL
#
?
I expected this link to be working: https://mitre-attack.github.io/attack-navigator/?layerURL=<custom_url>
https://mitre-attack.github.io/attack-navigator/?layerURL=<custom_url>
But the one that works is this one: https://mitre-attack.github.io/attack-navigator/#layerURL=<custom_url>
https://mitre-attack.github.io/attack-navigator/#layerURL=<custom_url>
Hi @olgasalas,
The layerURL was purposefully encoded via a fragment rather than a query string (see issue #20).
When trying to open an existing layer directly in the URL, the queryParam
layerURL
needs to be called with#
instead of?
.I expected this link to be working:
https://mitre-attack.github.io/attack-navigator/?layerURL=<custom_url>
But the one that works is this one:
https://mitre-attack.github.io/attack-navigator/#layerURL=<custom_url>