httpHeaders
Environment: client.
Send additional HTTP headers to be sent along Telefunc HTTP requests.
Usually used for sending authentication headers.
You can define client-side configs (
import { config } from 'telefunc/client'
) anywhere, just make sure to do it at global client-side code that is always executed. For example/pages/+client.js
if you use Vike: