npm install
npm start
npm run min
Set this in nginx:
#See: https://jira.project-fifo.net/browse/FIFO-566
proxy_set_header content-type application/json;
proxy_hide_header access-control-allow-origin;
add_header access-control-allow-origin $http_origin;
#Already in new wiggle
add_header access-control-allow-credentials true;
proxy_hide_header access-control-allow-headers;
add_header access-control-allow-headers 'Authorization, content-type, x-snarl-token, x-full-list, x-full-list-fields';