urgent help req
i have changed the config/environments.js file dev config as follows
development : (config) => ({
compiler_public_path : `http://${config.server_host}:${config.server_port}/`,
globals: {
...config.globals,
API_URL: JSON.stringify('<your-api-url-here>')
}
})
...config.globals,
^^^
SyntaxError: Unexpected token ...
socket.in('server-update, function() ....
code at. should it go in a reducer/store file and just dispatch a thunk action like SERVER_UPDATED