From d05719a14143dd17e1313a7a8695b1f9176b838e Mon Sep 17 00:00:00 2001 From: Oscar Caballero - Hylink Group <100241997+hylink-oscar-caballero@users.noreply.github.com> Date: Sun, 28 Apr 2024 10:00:18 -0500 Subject: [PATCH] Update 1.setup.md Directus URL is not going to be exposed unless we put it in public. Otherwise, we need to update the useDirectusUrl composable as it is reading it from public variables. --- docs/content/1.getting-started/1.setup.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/content/1.getting-started/1.setup.md b/docs/content/1.getting-started/1.setup.md index 449005e..c4766f1 100644 --- a/docs/content/1.getting-started/1.setup.md +++ b/docs/content/1.getting-started/1.setup.md @@ -25,8 +25,10 @@ export default defineNuxtConfig({ export default defineNuxtConfig({ modules: ['nuxt-directus'], runtimeConfig: { - directus: { - url: "" + public: { + directus: { + url: "" + } } } })