Open mohsen158 opened 5 years ago
i want put my vue js project in ipfs . and because of that i have to change my baseuri or public path to be :
/ipfs/[hash string which i get after file added to ipfs]
but i cant do that
means i want to set public path be dynamically depends on real url somethink like this :
module.exports = { publicPath: process.env.NODE_ENV === 'production' ? '/ipfs/[hash string which i get after file added to ipfs]/' : '/' }
whats your idea to solve this problem?
i want put my vue js project in ipfs . and because of that i have to change my baseuri or public path to be :
but i cant do that
means i want to set public path be dynamically depends on real url somethink like this :
whats your idea to solve this problem?