Fix .env loading for dev-backend: check parent dir when in backend/

This commit is contained in:
Christoph Haas 2026-03-23 21:38:07 +01:00
parent 6e3d63f9c2
commit 44dea14885
2 changed files with 5 additions and 2 deletions

View file

@ -36,7 +36,7 @@ dev-frontend:
dev-backend:
@echo "Starting backend dev server..."
USE_EMBEDDED=false go run ./$(BACKEND_DIR)/cmd/server
cd $(BACKEND_DIR) && USE_EMBEDDED=false go run ./cmd/server
# Clean build artifacts
clean: