N
Nuxt6mo ago
El Jovial

Client/server URL for directus

Hello all, having mad fun while discovering Directus. Pairing it with Nuxt, trying to do so with nuxt/directus module but I'm missing a really important step which is server/client data fetching within docker dev image. Following the docs i added a directusUrl value in config and I'm using useAsyncData to fetch. (had cors issues I managed to fix) My problem is simple : I can only make fetch work eitehr server (using directus docker image path like directus:PORT) or client side (using localhost:PORT. From the docs we only have one value for directusUrl, how to toggle between server/client url or so ? Thanks!
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server