Add prettier
This commit is contained in:
parent
0cbbc1b8ff
commit
b176b79144
46 changed files with 832 additions and 544 deletions
|
@ -10,7 +10,9 @@ import routes from './routes';
|
|||
import runModules from './modules';
|
||||
|
||||
const production = process.env.NODE_ENV === 'production';
|
||||
const host = production ? window.location.host : `${window.location.hostname}:1337`;
|
||||
const host = production
|
||||
? window.location.host
|
||||
: `${window.location.hostname}:1337`;
|
||||
const socket = new Socket(host);
|
||||
const store = configureStore(socket);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue