#dev | Logs for 2020-12-21

« return
[01:44:02] <Bytram> .
[01:44:27] <Bytram> Posting here for future reference: https://soylentnews.org
[01:45:16] <Bytram> ^^^ "Re:SoylentNews and .onion"
[01:46:44] <Bytram> .
[01:46:55] <Bytram> The identical behaviour of Onion-Location includes the option of defining it as a HTML <meta> http-equiv attribute. This may be used by websites that prefer (or need) to define an Onion-Location by modifying the served HTML content instead of adding a new HTTP header. The Onion-Location header would be equivalent to a <meta http-equiv="onion-location" content="http://<your-onion-service-address>.onion" /> added in the HTML head element of
[01:46:56] <Bytram> the webpage. Replace <your-onion-service-address.onion> with the onion service that you want to redirect.
[01:47:00] <Bytram> .
[01:47:18] <Bytram> AFAICT this is the minimum you have to do. Just add the meta tag in the header of every page and you're good to go. Maybe you would want to redirect to the specific page you're on rather than the home page, with the exception of pages that could cause form resubmissions, I'm not sure.
[01:47:22] <Bytram> .