master
bhaskar 2 years ago
parent 52376c0bee
commit ac62f7fced

@ -49,7 +49,7 @@
<!-- Do not commit this file into the server , ignore it by adding it to .gitignore --> <!-- Do not commit this file into the server , ignore it by adding it to .gitignore -->
<!----------------**************************---------------------> <!----------------**************************--------------------->
<rapi-doc <rapi-doc
spec-url="http://35.207.198.4:3000/documentation/json" spec-url="http://35.207.198.4:5000/documentation/json"
show-header = 'false' show-header = 'false'
allow-authentication ="true" allow-authentication ="true"

@ -14,9 +14,9 @@ exports.options = {
}, },
// We have to change this beacause this is running on local // We have to change this beacause this is running on local
// we have to run on this on swagger // we have to run on this on swagger
//host: "localhost:5000", //Devlopemnt host on lcoal // host: "localhost:5000", //Devlopemnt host on lcoal
host: "35.207.198.4:3000", //Production for swagger host: "35.207.198.4:5000", //Production for swagger
schemes: ["http"], schemes: ["http"],
consumes: ["application/json"], consumes: ["application/json"],
produces: ["application/json"], produces: ["application/json"],

@ -360,7 +360,7 @@ const start = async () => {
try { try {
await fastify.listen(3000, "0.0.0.0"); await fastify.listen(5000, "0.0.0.0");
fastify.log.info(`listening on ${fastify.server.address().port}`); fastify.log.info(`listening on ${fastify.server.address().port}`);
fastify.log.info(`server listening on ${fastify.config}`); fastify.log.info(`server listening on ${fastify.config}`);
} catch (err) { } catch (err) {

Loading…
Cancel
Save