From 55000d13071755a1c68c042d1b279bb889ecb35f Mon Sep 17 00:00:00 2001 From: Bar Miliavsky Date: Mon, 23 Nov 2020 10:49:03 +0200 Subject: [PATCH] Fix async resource loading --- http-host/Dockerfile | 2 +- http-host/index.ts | 2 ++ package.json | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/http-host/Dockerfile b/http-host/Dockerfile index 04a00cd..cc726df 100644 --- a/http-host/Dockerfile +++ b/http-host/Dockerfile @@ -1,4 +1,4 @@ -FROM node:10 +FROM node:10-alpine WORKDIR /src diff --git a/http-host/index.ts b/http-host/index.ts index 399de44..27a2ac5 100644 --- a/http-host/index.ts +++ b/http-host/index.ts @@ -95,6 +95,8 @@ app.post('/fake_server_admin/clear', (_req, res) => { res.send('Ok'); }); +app.get('/isAlive', (_, res) => res.send('Ok')); + interface GetCallQueryParams { callId: string; [x: string]: string; diff --git a/package.json b/package.json index 2929d8e..468fad3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "simple-fake-server", - "version": "3.4.0", + "version": "3.4.1", "description": "A small, simple http server for mocking and asserting http calls.", "main": "dist/index.js", "types": "dist/index.d.ts",