@ -10,7 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Nothing
## [1.2.1]
## [1.2.2]
### Added
- Replacement of an existing file
- Local resolver for did:ethr
@ -8,7 +8,7 @@ RUN git clone https://gitea.anomalistdesign.com/log-trade/image-api.git
WORKDIR image-api
RUN git checkout $IMAGE_API_VERSION
RUN pnpm install --prod
RUN pnpm install
RUN pnpm build
CMD node dist/server.js
@ -59,6 +59,8 @@ JWT=`node -e "$CODE"`; curl -X DELETE -H "Authorization: Bearer $JWT" http://loc
* Update version in package.json, server.js 'ping' endpoint, and CHANGELOG.md entry.
* Commit, push, and tag.
* Build the docker image.
* Bump version and add "-beta" in package.json & server.js 'ping' endpoint.
@ -1,6 +1,6 @@
{
"name": "Images for Trade",
"version": "1.2.1",
"version": "1.2.2",
"description": "",
"license": "UNLICENSED",
"dependencies": {
@ -49,7 +49,7 @@ const uploadDir = 'uploads';
const uploadMulter = multer({ dest: uploadDir + '/' });
app.get('/ping', async (req, res) => {
res.send('pong - v 1.2.1'); // version
res.send('pong - v 1.2.2'); // version
});
app.get('/image-limits', async (req, res) => {