saudade/sues_virtual_life/config.js

47 lines
985 B
JavaScript
Raw Normal View History

2023-06-14 12:18:54 -07:00
let currentPage = location.pathname.split('/').at(-2)
const waybackSiteBase = 'http://boardwalkerz.com/svl/'
const pageMetadata = {
sues_virtual_life: {
captureId: '20150810211140',
sourcePageName: '',
},
past: {
2023-06-14 13:10:49 -07:00
captureId: '20160109091352',
2023-06-14 12:18:54 -07:00
sourcePageName: 'past.html',
},
links: {
2023-06-14 15:35:40 -07:00
captureId: '20150918005946',
2023-06-14 12:18:54 -07:00
sourcePageName: 'links.html',
},
catz: {
2023-06-14 18:24:04 -07:00
captureId: '20160108073105',
2023-06-14 12:18:54 -07:00
sourcePageName: 'catz.html',
},
dogz: {
captureId: '',
sourcePageName: 'dogz.html',
},
other: {
captureId: '',
sourcePageName: 'other.html',
},
babyz: {
captureId: '',
sourcePageName: 'babyz.html',
},
archive: {
captureId: '',
sourcePageName: 'archive.html',
},
}
export const wayback =
pageMetadata[currentPage].captureId
+ '/'
+ waybackSiteBase
+ pageMetadata[currentPage].sourcePageName