Use configured IPFS gateway URL for button

This commit is contained in:
2019-09-05 11:53:20 +02:00
parent f8f1ad644c
commit 494b5d9bdd
2 changed files with 14 additions and 2 deletions
@@ -0,0 +1,12 @@
import Controller from '@ember/controller';
import { computed } from '@ember/object';
import config from 'kredits-web/config/environment';
export default Controller.extend({
ipfsGatewayUrl: computed(function() {
return config.ipfs.gatewayUrl;
}).volatile()
});