diff --git a/.husky/pre-commit b/.husky/pre-commit index 7b10d22..7916f17 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -5,7 +5,7 @@ npm run prettier:fix npm run lint:fix npm run build npm run test -rm -rf docs -mkdir docs -npx spectaql spectaql-config.yaml -t ./docs -git add -A . +# rm -rf docs +# mkdir docs +# npx spectaql spectaql-config.yaml -t ./docs +# git add -A . diff --git a/src/app.ts b/src/app.ts index 81be2e4..b1d1eef 100644 --- a/src/app.ts +++ b/src/app.ts @@ -29,5 +29,7 @@ const server = new ApolloServer({ }, listen: { port: parseInt(process.env.PORT! as string) }, }); - console.log(`UHUL! Cine-Tasty-API is running at ${url}!`); + if (process.env.NODE_ENV !== "production") { + console.log(`UHUL! Cine-Tasty-API is running at ${url}!`); + } })();