refactor: cleanup readme and remove env variables from ssr package

This commit is contained in:
MrTimscampi 2021-01-23 14:43:15 +01:00
parent e2d6e6cd77
commit 87e06349bd
2 changed files with 4 additions and 4 deletions

View File

@ -1,8 +1,8 @@
const config = {
server: {
port: process.env.PORT || 80,
host: process.env.HOST || "0.0.0.0",
},
port: 80,
host: '0.0.0.0'
}
};
export default config;

View File

@ -71,7 +71,7 @@ $ yarn dev
# server with hot reload and server-side rendering at localhost:3000
$ yarn dev:ssr
# build for production and launch server
# build for production
# you will need a web server to host the client
$ yarn build