Nick Sergeant
Nick Sergeant
@pintoderian I'm curious what the purpose of [this fallback](https://github.com/pintoderian/next-directus-auth-ts/blob/main/services/directus.ts#L14-L18) is in `services/directus.ts`: ``` return createDirectus(process.env.NEXT_PUBLIC_DIRECTUS_API ?? "") .with( authentication("cookie", { credentials: "include", autoRefresh: true }) ) .with(rest({ credentials: "include" }))...
As a side-note, I'm not able to get API requests w/ cookie auth to work at all like this: ``` const api = directus() const places = await api.request( readItems("places",...