Skip to content

fix: wrong base url for staging env#28

Merged
RMCampos merged 2 commits intomainfrom
fix/base-url-for-staging
Apr 8, 2026
Merged

fix: wrong base url for staging env#28
RMCampos merged 2 commits intomainfrom
fix/base-url-for-staging

Conversation

@RMCampos
Copy link
Copy Markdown
Owner

@RMCampos RMCampos commented Apr 8, 2026

This pull request includes several updates related to environment configuration, logging improvements, and dependency upgrades. The main focus is on improving the handling of environment-specific URLs, increasing logging visibility for email-related actions, and updating the Spring Boot version.

Environment configuration and URL handling:

  • Updated the logic in MailgunEmailService#getBaseUrl to correctly construct the base URL for the "staging" environment, ensuring that the domain is adjusted for staging deployments.
  • Changed the TARGET_ENV variable in the terraform-stg/main.tf Kubernetes deployment from "production" to "staging", aligning the infrastructure configuration with the intended environment.

Logging improvements:

  • Added logging statements in MailgunEmailService to output the generated confirmation and password reset links, aiding in debugging and monitoring email operations. [1] [2]
  • Updated the logger initialization in MailgunEmailService to use the class name string, ensuring consistency and clarity in log outputs.

Dependency updates:

  • Upgraded the Spring Boot version from 4.0.3 to 4.0.5 in server/pom.xml to incorporate the latest fixes and improvements.

@RMCampos RMCampos self-assigned this Apr 8, 2026
@RMCampos RMCampos merged commit ba0a204 into main Apr 8, 2026
4 checks passed
@RMCampos RMCampos deleted the fix/base-url-for-staging branch April 8, 2026 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant