- fix: Add pulling in documentation

GitOrigin-RevId: 3450b71cbb12daf71245985873984402189ab99b
This commit is contained in:
the-superpirate 2021-01-29 14:02:40 +03:00
parent 5d15efc2d2
commit 2fbe26c3dc
3 changed files with 3 additions and 3 deletions

View File

@ -18,7 +18,7 @@ ipfs get $COLLECTION
Create [`docker-compose.yml`](docker-compose.yml) file to set up Nexus Cognitron and then launch it:
```shell script
docker-compose up
docker-compose pull && docker-compose up
```
then go to [http://localhost:3000](http://localhost:3000)

View File

@ -78,7 +78,7 @@ export default {
},
ipfsUrl: function () {
if (!this.ipfsMultihash) return null
return `${this.$config.ipfsGateway}/ipfs/${this.ipfsMultihash}?filename=${this.filename}`
return `${this.$config.ipfsGateway}/ipfs/${this.ipfsMultihash}?filename=${this.filename}&download=true`
},
ipfsMultihash: function () {
if (this.document.ipfsMultihashes) {

View File

@ -64,7 +64,7 @@ export default {
},
ipfsUrl: function () {
if (!this.ipfsMultihash) return null
return `${this.$config.ipfsGateway}/ipfs/${this.ipfsMultihash}?filename=${this.filename}`
return `${this.$config.ipfsGateway}/ipfs/${this.ipfsMultihash}?filename=${this.filename}&download=true`
},
ipfsMultihash: function () {
if (this.document.ipfsMultihashes) {