diff --git a/README.md b/README.md index 12ac4fc..7c86f03 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ mkdir uploads pnpm run migrate ``` -Now set up an AWS S3 bucket & Infura project, and manually set these variables inside a .env file: +Now set up an S3 bucket & Infura project, and create a .env file from .env.sample with these important settings: ``` AWS_ACCESS_KEY= AWS_SECRET_KEY= @@ -22,8 +22,6 @@ AWS_REGION= INFURA_PROJECT_ID= ``` -If you use a domain with a web redirect, use a permanent redirect (since browsers complained with PR_END_OF_FILE_ERROR about a secure connection when it's temporary). - ## dev ``` @@ -45,9 +43,9 @@ JWT=`node -e "$CODE"`; curl -X DELETE -H "Authorization: Bearer $JWT" http://loc * In object storage, set up bucket and erase any test data. -* In DNS, set a permanent web forward to the correct storage location. +* In haproxy, set a permanent web forward to the correct storage location. ## deploy to prod subsequent times -* Add CHANGELOG.md entry. +* Add CHANGELOG.md entry. Update version in server.js file. diff --git a/server.js b/server.js index 14fee11..9cc6761 100644 --- a/server.js +++ b/server.js @@ -54,7 +54,7 @@ const uploadDir = 'uploads'; const uploadMulter = multer({ dest: uploadDir + '/' }); app.get('/ping', async (req, res) => { - res.send('pong'); + res.send('pong v1.0.0'); }); app.get('/image-limits', async (req, res) => {