Skip to content

Commit

Permalink
Fix assets load env
Browse files Browse the repository at this point in the history
  • Loading branch information
okoala committed Oct 14, 2016
1 parent 932a1ee commit 819da11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controller/render.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const safeStringify = require('fast-safe-stringify')
const packageConf = require('../../package.json')

let assets = process.env.UAE_MODE
let assets = process.env.NODE_ENV !== 'development'
? require('../../dist/assets.json')
: { app: { js: '/dist/app-bundle.js' }, vendor: { js: '/dist/vendor-bundle.js', css: '/dist/style.css' }}

Expand Down

0 comments on commit 819da11

Please sign in to comment.