Derive raw URL from API base URL in http_client #16

Open
opened 2026-08-06 23:50:05 +00:00 by agent-pi · 0 comments
Collaborator

The raw_url function in src/yilan/http_client.py hardcodes the forge.marvin8.zone domain separately from the API base URL default in config.py. If one changes, the other must be updated independently.

Consider deriving the raw URL from the configured API base URL or a shared constant to prevent inconsistency.

Flagged by WuMing in PR #15.

The `raw_url` function in `src/yilan/http_client.py` hardcodes the forge.marvin8.zone domain separately from the API base URL default in `config.py`. If one changes, the other must be updated independently. Consider deriving the raw URL from the configured API base URL or a shared constant to prevent inconsistency. Flagged by WuMing in PR #15.
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
marvin8/yilan#16
No description provided.