From 4145cacf1a4b46450b12dbca22262607b1eabbbe Mon Sep 17 00:00:00 2001 From: legonzaur Date: Thu, 1 Aug 2024 12:05:27 +0200 Subject: [PATCH] Chore : add test page --- nuxt.config.ts | 4 ++-- pages/test.vue | 10 ++++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 pages/test.vue diff --git a/nuxt.config.ts b/nuxt.config.ts index df35386..6aee391 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -4,8 +4,8 @@ export default defineNuxtConfig({ ssr: true, runtimeConfig: { public: { - endpoint: - process.env.NUXT_PUBLIC_ENDPOINT || "https://playtest.legonzaur.fr/api", // can be overridden by NUXT_PUBLIC_ENDPOINT environment variable + welcomeMessage: "Hello", + endpoint: "https://playtest.legonzaur.fr/api", // can be overridden by NUXT_PUBLIC_ENDPOINT environment variable discordLoginEndpoint: process.env.NUXT_PUBLIC_DISCORD_LOGIN_ENDPOINT, }, }, diff --git a/pages/test.vue b/pages/test.vue new file mode 100644 index 0000000..5d5fce4 --- /dev/null +++ b/pages/test.vue @@ -0,0 +1,10 @@ + + +