peer-pad icon indicating copy to clipboard operation
peer-pad copied to clipboard

Use relative urls everywhere

Open olizilla opened this issue 7 years ago • 0 comments
trafficstars

Once nice feature of the deploy set up is that it publishes a snapshot of the built site to ipfs for evey commit, like: https://ipfs.io/ipfs/QmbC54Bshtcgr1ndX3zWdecbCoZdRujvuxXrkqhmcGKx5P/#/

For a site to work as expected when deployed under https://peerpad.net/ and under an ipfs path like /ipfs/QmHash, we have to use relative urls everywhere!

There are a few urls in peer-pad now that are absolute so they fail to load when viewing the site via its ipfs address:

screenshot 2018-05-02 15 24 32

As a side note... It'd be rad to set up a generic CI step that renders the site and checks for absolute urls

olizilla avatar May 02 '18 14:05 olizilla