Skip to content

Commit

Permalink
chore(demo): Upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
becem-gharbi committed Jul 31, 2023
1 parent 38955a9 commit 1ed2666
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
14 changes: 6 additions & 8 deletions demo/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,13 @@ export default defineNuxtConfig({
},

directus: {
baseUrl: process.env.DIRECTUS_BASE_URL || "http://127.0.0.1:8055", // Directus app base url
nuxtBaseUrl: process.env.BASE_URL || "http://127.0.0.1:3000", // Nuxt app base url
rest: {
baseUrl: process.env.DIRECTUS_BASE_URL || "http://127.0.0.1:8055", // Directus app base url
nuxtBaseUrl: process.env.BASE_URL || "http://127.0.0.1:3000", // Nuxt app base url
},

auth: {
enabled: true,
enableGlobalAuthMiddleware: false, // Enable auth middleware on every page
redirect: {
login: "/auth/login", // Path to redirect when login is required
Expand All @@ -40,12 +43,7 @@ export default defineNuxtConfig({
},

graphql: {
httpEndpoint:
process.env.DIRECTUS_GRAHQL_HTTP_ENDPOINT ||
"http://127.0.0.1:8055/graphql",
wsEndpoint:
process.env.DIRECTUS_GRAHQL_WS_ENDPOINT ||
"ws://127.0.0.1:8055/graphql",
enabled: false,
},
},
});
1 change: 0 additions & 1 deletion demo/pages/home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ definePageMeta({
middleware: "auth",
layout: "auth"
})
// const query = graphql(`
// subscription BookSub {
// book_mutated {
Expand Down

1 comment on commit 1ed2666

@vercel
Copy link

@vercel vercel bot commented on 1ed2666 Jul 31, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.