diff --git a/src/index.js b/src/index.js index b2fd6a0f..d464523d 100644 --- a/src/index.js +++ b/src/index.js @@ -27,7 +27,7 @@ const fastify = require("fastify")({ // const Fastify = require("fastify"); fastify.register(cors, { - origin: 'http://localhost:3001', // Allow only your frontend URL + origin: 'http://armintaaqua.com:3000', // Allow only your frontend URL methods: ['GET', 'POST', 'PUT', 'DELETE'], // Allowed HTTP methods });