cohosting
cohosting copied to clipboard
fix: update cohosting.sh
- use the /cohosting/full dir to be inline with the spec
- rename gc to prune to match npm flavour ipfs-costing
- ensure prune with no args leaves 1 snapshot in place as per https://github.com/ipfs-shipyard/ipfs-cohost/issues/13
- add usage descriptions
- show usage if command doesnt match any supported
- rename to ipfs-cohost.sh to match npm flavour
License: MIT Signed-off-by: Oli Evans [email protected]
@olizilla this is awesome! However, I would have a way to change MFS_DIR because with this changes this would only affect fully cohosted websites and not lazily cohosted websites
The current version of the script only does full cohosting, and wasn't storing dirs in a full dir, so I added it.
@olizilla okay, then it's an improvement definitely 😄