diff --git a/.github/workflows/aws-deploy-api.yml b/.github/workflows/aws-deploy-api.yml index 06757eeed..222a2d593 100644 --- a/.github/workflows/aws-deploy-api.yml +++ b/.github/workflows/aws-deploy-api.yml @@ -1,4 +1,4 @@ -name: Prod Deploy API to Amazon ECS +name: [API] Deploy to Amazon ECS on: push: @@ -6,7 +6,7 @@ on: jobs: deploy: - name: Deploy API to Amazon ECS + name: [API] Deploy to Amazon ECS runs-on: ubuntu-latest steps: diff --git a/.github/workflows/aws-deploy-socket.yml b/.github/workflows/aws-deploy-socket.yml index a72526f37..5c32fc5e5 100644 --- a/.github/workflows/aws-deploy-socket.yml +++ b/.github/workflows/aws-deploy-socket.yml @@ -1,4 +1,4 @@ -name: Prod Deploy Socket Server to Amazon ECS +name: [Socket Server] Deploy to Amazon ECS on: push: @@ -6,7 +6,7 @@ on: jobs: deploy: - name: Deploy Socket Server to Amazon ECS + name: [Socket Server] Deploy to Amazon ECS runs-on: ubuntu-latest steps: diff --git a/packages/api/src/routes.ts b/packages/api/src/routes.ts index 1e8aca8f6..1b2a04500 100644 --- a/packages/api/src/routes.ts +++ b/packages/api/src/routes.ts @@ -27,7 +27,7 @@ router.use('/workspace', workspace); // ping route router.get('/ping', ({ res }) => - res.send(`${new Date().toISOString()} ${process.env.APP_NAME}`), + res.send(`${new Date().toISOString()} ${process.env.API_NAME}`), ); // healthcheck route diff --git a/packages/socket-server/src/index.ts b/packages/socket-server/src/index.ts index 63dc29bfe..d11c802f7 100644 --- a/packages/socket-server/src/index.ts +++ b/packages/socket-server/src/index.ts @@ -18,12 +18,6 @@ const io = new socketIo.Server(server, { connectTimeout: Number(TIMEOUT_DICONNECT), // 30 mins }) -// Endpoint de teste para o Express -app.get('/', (req, res) => { - res.status(200) - res.json({ message: `${APP_NAME} ${new Date()}` }) -}) - // Health Check app.get('/health', ({ res }) => res.status(200).send({ status: 'ok', message: `Health check ${process.env.APP_NAME} passed` }),