Create a fetch wrapper for the API calls, it will handle: - add correct basename on the api request - add Bearer automatically on the api request - logout automatically on 401 request
2 lines
26 B
Plaintext
2 lines
26 B
Plaintext
NEXT_PUBLIC_API_URL=/api/
|