Chore : force to use env vars
release-tag / release-image (push) Successful in 32s

This commit is contained in:
2024-07-14 16:43:14 +02:00
parent 8d4ae03519
commit 3330704670
+2 -3
View File
@@ -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"],