Commit 46ed56e
committed
feat(x): improve URL construction for API requests
- Add proper handling of DefaultAPIBase in URL construction
- Ensure consistent path separator handling with TrimRight/TrimLeft
- Add debug logging for constructed API URL
- Fix URL concatenation to prevent double slashes
This change ensures proper URL construction when making API requests,
incorporating the base API path from environment configuration.1 parent b01fc78 commit 46ed56e
1 file changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
94 | | - | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
95 | 100 | | |
96 | 101 | | |
97 | 102 | | |
| |||
0 commit comments