From 1e801ea0d86aa601c699ea8eeb843b8e3fc08b6c Mon Sep 17 00:00:00 2001 From: Bhaskara Kishore Date: Wed, 19 Apr 2023 13:21:51 +0530 Subject: [PATCH] changes --- src/api-docs/api.html | 2 +- src/config/swagger.js | 4 ++-- src/index.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/api-docs/api.html b/src/api-docs/api.html index 7ea0f07a..dfbff504 100644 --- a/src/api-docs/api.html +++ b/src/api-docs/api.html @@ -49,7 +49,7 @@ diff --git a/src/config/swagger.js b/src/config/swagger.js index 0361806f..81456d6a 100644 --- a/src/config/swagger.js +++ b/src/config/swagger.js @@ -14,8 +14,8 @@ exports.options = { }, // We have to change this beacause this is running on local // we have to run on this on swagger - host: "localhost:5000", //Devlopemnt host on lcoal - //host: "35.207.198.4:3000", //Production for swagger + //host: "localhost:5000", //Devlopemnt host on lcoal + host: "35.207.198.4:3000", //Production for swagger schemes: ["http"], consumes: ["application/json"], produces: ["application/json"], diff --git a/src/index.js b/src/index.js index fe6b5a6f..0af4d460 100644 --- a/src/index.js +++ b/src/index.js @@ -361,7 +361,7 @@ const start = async () => { try { - await fastify.listen(5000, "0.0.0.0"); + await fastify.listen(3000, "0.0.0.0"); fastify.log.info(`listening on ${fastify.server.address().port}`); fastify.log.info(`server listening on ${fastify.config}`); } catch (err) {