fix(parapharmacy-api): use CORS_ORIGIN env var for Swagger server URL #40
Reference in New Issue
Block a user
Delete Branch "fix/swagger-server-url-deployment"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Swagger UI hardcoded localhost:3002, causing NetworkError when accessed
from the deployed server. Now reads CORS_ORIGIN to build the correct
server URL for API calls from the Swagger UI.