From 1883077e02cb102c996e05d03c25741dce32cc41 Mon Sep 17 00:00:00 2001 From: Chris Ziogas Date: Sat, 30 Mar 2019 00:00:32 +0200 Subject: [PATCH] Fix production dapp build paths --- dapp/config/webpack.config.prod.js | 2 +- dapp/public/index.html | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dapp/config/webpack.config.prod.js b/dapp/config/webpack.config.prod.js index 7095ad0..65c7e15 100644 --- a/dapp/config/webpack.config.prod.js +++ b/dapp/config/webpack.config.prod.js @@ -66,7 +66,7 @@ module.exports = { filename: 'static/js/[name].[chunkhash:8].js', chunkFilename: 'static/js/[name].[chunkhash:8].chunk.js', // We inferred the "public path" (such as / or /my-project) from homepage. - publicPath: '.' + publicPath, + publicPath: publicPath, // Point sourcemap entries to original disk location (format as URL on Windows) devtoolModuleFilenameTemplate: info => path diff --git a/dapp/public/index.html b/dapp/public/index.html index e778f13..82bb299 100644 --- a/dapp/public/index.html +++ b/dapp/public/index.html @@ -8,8 +8,8 @@ manifest.json provides metadata used when your web app is added to the homescreen on Android. See https://developers.google.com/web/fundamentals/engage-and-retain/web-app-manifest/ --> - - + + Portal Network - Big and Small - + @@ -38,6 +38,6 @@ To begin the development, run `npm start` or `yarn start`. To create a production bundle, use `npm run build` or `yarn build`. --> - +