Get the base URL for API calls. In production this is same-origin.
()
| 5 | |
| 6 | /** Get the base URL for API calls. In production this is same-origin. */ |
| 7 | function apiBase(): string { |
| 8 | return ""; |
| 9 | } |
| 10 | |
| 11 | /** Build headers for API requests. */ |
| 12 | function headers(): HeadersInit { |