diff --git a/.github/workflows/backend-dev-preview.yml b/.github/workflows/backend-dev-preview.yml index 6dc442c8..cdd279a2 100644 --- a/.github/workflows/backend-dev-preview.yml +++ b/.github/workflows/backend-dev-preview.yml @@ -13,6 +13,7 @@ jobs: steps: - uses: actions/checkout@v2 - run: cd backend + - run: ls - run: npm start . - name: Install Vercel CLI run: npm install --global vercel@canary diff --git a/backend/src/index.ts b/backend/src/index.ts index 50bd6412..bd7f53a4 100644 --- a/backend/src/index.ts +++ b/backend/src/index.ts @@ -15,7 +15,6 @@ app.get("/", (req: Request, res: Response) => { app.use(`/content/${newsURL}`, newsRouter) app.use(`/content/${researchURL}`, researchRouter) - app.listen(port, () => { console.log(`Server is running at http://localhost:${port}`) })