From 7b51288a66dd2e1b5869ecf3750948224956c8c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicola=CC=81s=20Lo=CC=81pez?= Date: Fri, 31 Mar 2023 13:08:32 -0300 Subject: [PATCH] adds a test query --- app/App/offline/initConnection.ts | 4 ++++ package.json | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/App/offline/initConnection.ts b/app/App/offline/initConnection.ts index c70f005..32c26c4 100644 --- a/app/App/offline/initConnection.ts +++ b/app/App/offline/initConnection.ts @@ -21,6 +21,10 @@ export interface AuthorizationRequest { export const pendingRequests: AuthorizationRequest[] = [] +app.get('/', (req, res) => { + res.end(`OK`) +}) + app.post('/init', (req, res) => { const params = req.body const token = uuidv4() diff --git a/package.json b/package.json index aada170..983d2d4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "justo-crisp", - "version": "0.2.1", + "version": "0.2.2", "license": "MIT", "description": "Crisp POS", "author": "nicolaslopezj",