feat: Changed the port to 3001 of the backend server
This commit is contained in:
parent
cd8062052d
commit
6a34c3a6c2
@ -1,4 +1,3 @@
|
||||
|
||||
import fastify from 'fastify';
|
||||
|
||||
const server = fastify();
|
||||
@ -9,8 +8,8 @@ server.get('/', async (request, reply) => {
|
||||
|
||||
const start = async () => {
|
||||
try {
|
||||
await server.listen({ port: 3000 });
|
||||
console.log('Server listening on http://localhost:3000');
|
||||
await server.listen({ port: 3001 });
|
||||
console.log('Server listening on http://localhost:3001');
|
||||
} catch (err) {
|
||||
server.log.error(err);
|
||||
process.exit(1);
|
||||
|
Loading…
Reference in New Issue
Block a user