Fix JS config to work in Dokku environment