dweb-archive icon indicating copy to clipboard operation
dweb-archive copied to clipboard

More Decentralized: About bar

Open mitra42 opened this issue 6 years ago • 1 comments

The about bar links all currently go to https://archive.org/about/* etc

There is no endpoint on the Archive to get just the content of that page, and since its dynamically generated, the gateway cant easily cache it.

Can't use a relative link to a name e.g. dweb:/arc/archive.org/about because those pages aren't CORS so don't appear to be able to access them from javascript and pass to window.open

mitra42 avatar May 29 '18 19:05 mitra42

For now ... the code is in Nav..js/navwrap(), the rewrite of relative URLS and the odd //blog.archive.org is done in ReactFake.js/resolveUrls() and the workaround in dweb-gateway/nginx/{dweb.me, gateway.dweb.me, dweb.archive.org} catches these URLS and redirects to archive.org

mitra42 avatar May 29 '18 20:05 mitra42