Mozart409/blocky-frontend

production not running, only localhost is allowed

Closed this issue · 3 comments

You need to uncomment the NODE_ENV section.

Currently this is only usefull if the user runs blocky AND the frontend on the same PC as their browser (as the browser makes calls to localhost), which basically makes this 100% useless, as almost no one would run that way.

@Mozart409 the issue seems to be these commented-out lines:

/* if (process.env.NODE_ENV === 'development') {

Can you test if it's enough to just uncomment that and allow people to set the production mode?
We're trying to integrate this (Although we understand it's a dev/poc, but it's better than nothing) into our Helm-Chart/SCALE-App, so it would be nice to have it actually... well... be useable.

This is fixed in the latest version

fixed in v0.4.0