diff --git a/nuxt.config.ts b/nuxt.config.ts index bb9e48c..11cccf3 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -4,9 +4,8 @@ export default defineNuxtConfig({ ssr: false, runtimeConfig: { public: { - endpoint: "http://localhost:8765", // can be overridden by NUXT_PUBLIC_ENDPOINT environment variable - discordLoginEndpoint: - "https://discord.com/oauth2/authorize?client_id=460020057867681792&response_type=code&redirect_uri=http%3A%2F%2Flocalhost%3A8765%2Flogin&scope=identify", + endpoint: process.env.NUXT_PUBLIC_ENDPOINT, // can be overridden by NUXT_PUBLIC_ENDPOINT environment variable + discordLoginEndpoint: process.env.NUXT_PUBLIC_DISCORD_LOGIN_ENDPOINT, }, }, modules: ["@pinia/nuxt", "@pinia-plugin-persistedstate/nuxt"],