set asset prefix

This commit is contained in:
James Gareth Smith 2018-07-09 09:42:19 +02:00
parent 8d35f87e1c
commit 1a6179e931

View File

@ -1,6 +1,7 @@
const withSass = require('@zeit/next-sass') const withSass = require('@zeit/next-sass')
module.exports = module.exports =
withSass({ withSass({
assetPrefix: isProduction ? '/ETHPrize' : '',
exportPathMap: function(defaultPathMap) { exportPathMap: function(defaultPathMap) {
return { return {
'/': { page: '/' } '/': { page: '/' }