mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 00:03:28 +01:00
new transclusions: use urn:embeds:<url> for embeds resource lookup instead of old vi_/ prefix, as per ukwa/ukwa-pywb#50
This commit is contained in:
parent
8a6475a9c2
commit
d7d83b0728
@ -11,9 +11,10 @@
|
||||
});
|
||||
|
||||
function loadTransclusions() {
|
||||
var viUrl = window.location.href.replace("mp_", "vi_");
|
||||
//var viUrl = window.location.href.replace("mp_", "vi_");
|
||||
var embedsUrl = wbinfo.prefix + wbinfo.timestamp + "id_/urn:embeds:" + wbinfo.url;
|
||||
|
||||
window.fetch(viUrl)
|
||||
window.fetch(embedsUrl)
|
||||
.then(function(response) {
|
||||
return response.json();
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user