refactor(api): replace hardcoded URLs with dynamic URL generation #9

Merged
Saani merged 1 commits from feature/meetings into main 2025-11-23 12:21:28 +00:00
Owner

Replace hardcoded localhost URLs (http://127.0.0.1:8000) in API root
endpoint documentation with request.build_absolute_uri() calls. This
makes the API documentation URLs environment-agnostic and ensures they
reflect the actual domain/host being used to access the API, improving
portability across development, staging, and production environments.

Replace hardcoded localhost URLs (http://127.0.0.1:8000) in API root endpoint documentation with request.build_absolute_uri() calls. This makes the API documentation URLs environment-agnostic and ensures they reflect the actual domain/host being used to access the API, improving portability across development, staging, and production environments.
Saani added 1 commit 2025-11-23 12:21:24 +00:00
Replace hardcoded localhost URLs (http://127.0.0.1:8000) in API root
endpoint documentation with request.build_absolute_uri() calls. This
makes the API documentation URLs environment-agnostic and ensures they
reflect the actual domain/host being used to access the API, improving
portability across development, staging, and production environments.
Saani merged commit 7e721aa7cf into main 2025-11-23 12:21:28 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: ATTUNE-HEART-THERAPY/alternative-backend-service#9
No description provided.