From feabd00d30a1c197655cb7b742c328bd5f5c6d41 Mon Sep 17 00:00:00 2001 From: Balu Babu Date: Wed, 25 Oct 2023 14:27:39 +0530 Subject: [PATCH] chore: moved templates folder to hoppscotch-backend root --- docker-compose.yml | 4 ++-- .../src/{mailer => }/templates/code-your-own.hbs | 0 .../src/{mailer => }/templates/team-invitation.hbs | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename packages/hoppscotch-backend/src/{mailer => }/templates/code-your-own.hbs (100%) rename packages/hoppscotch-backend/src/{mailer => }/templates/team-invitation.hbs (100%) diff --git a/docker-compose.yml b/docker-compose.yml index c9d5d6684..8263c7035 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -107,7 +107,7 @@ services: build: dockerfile: packages/hoppscotch-backend/Dockerfile context: . - target: prod + target: dev env_file: - ./.env restart: always @@ -117,7 +117,7 @@ services: - PORT=3000 volumes: # Uncomment the line below when modifying code. Only applicable when using the "dev" target. - # - ./packages/hoppscotch-backend/:/usr/src/app + - ./packages/hoppscotch-backend/:/usr/src/app - /usr/src/app/node_modules/ depends_on: hoppscotch-db: diff --git a/packages/hoppscotch-backend/src/mailer/templates/code-your-own.hbs b/packages/hoppscotch-backend/src/templates/code-your-own.hbs similarity index 100% rename from packages/hoppscotch-backend/src/mailer/templates/code-your-own.hbs rename to packages/hoppscotch-backend/src/templates/code-your-own.hbs diff --git a/packages/hoppscotch-backend/src/mailer/templates/team-invitation.hbs b/packages/hoppscotch-backend/src/templates/team-invitation.hbs similarity index 100% rename from packages/hoppscotch-backend/src/mailer/templates/team-invitation.hbs rename to packages/hoppscotch-backend/src/templates/team-invitation.hbs