saudade/supernova/config.js

17 lines
367 B
JavaScript
Raw Normal View History

2023-06-14 22:10:06 -07:00
let currentPage = location.pathname.split('/').at(-2)
const waybackSiteBase = 'http://supernova.lokatt.se/'
const pageMetadata = {
supernova: {
captureId: '20161225131523',
sourcePageName: '',
},
}
export const wayback =
pageMetadata[currentPage].captureId
+ '/'
+ waybackSiteBase
+ pageMetadata[currentPage].sourcePageName