From c787c333e18716ecda811e7eb300f27f067ea205 Mon Sep 17 00:00:00 2001 From: Taron Date: Tue, 8 Oct 2024 18:25:32 +0400 Subject: [PATCH] fix prod api deployment --- .github/actions/setup-wrangler-toml-and-dotenv/action.yml | 3 +++ server/src/index.ts | 4 ---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/actions/setup-wrangler-toml-and-dotenv/action.yml b/.github/actions/setup-wrangler-toml-and-dotenv/action.yml index 65a3daec7..6b5b28e87 100644 --- a/.github/actions/setup-wrangler-toml-and-dotenv/action.yml +++ b/.github/actions/setup-wrangler-toml-and-dotenv/action.yml @@ -31,6 +31,9 @@ inputs: DB_ID: description: 'The database ID' required: true + MIGRATIONS_PATH: + description: 'Migrations path' + required: true GOOGLE_CLIENT_ID: description: 'Google Client ID' required: true diff --git a/server/src/index.ts b/server/src/index.ts index 5a2dfcfcb..dcc41b6fa 100644 --- a/server/src/index.ts +++ b/server/src/index.ts @@ -57,10 +57,6 @@ app.use('*', async (c, next) => { return corsMiddleware(c, next); }); -// SETUP LOGGING -// tRPC is already logging requests, but you can add your own middleware -// app.use('*', logger()); - // SETUP TRPC SERVER app.use(`${TRPC_API_ENDPOINT}/*`, honoTRPCServer({ router: appRouter }));