saudade/supernova/config.js
2023-06-15 09:24:20 -07:00

16 lines
367 B
JavaScript

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