Skip to content

Commit

Permalink
add AUTH_BASE_URL configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
mirsella committed Jan 6, 2025
1 parent 8bc3eb5 commit 7da625d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export default defineNuxtConfig({
isEnabled: true,
disableServerSideAuth: false,
originEnvKey: "AUTH_ORIGIN",
baseURL: "http://localhost:3000/api/auth",
baseURL: process.env.AUTH_BASE_URL || "http://localhost:3000/api/auth",
sessionRefresh: {
enablePeriodically: true,
enableOnWindowFocus: true,
Expand All @@ -45,7 +45,7 @@ export default defineNuxtConfig({
detectBrowserLanguage: false,
locales: [
{ code: "fr", name: "Français", language: "fr-FR", file: "fr.json" },
{ code: "en", name: "English", language: "en-US", file: "en.json" }
{ code: "en", name: "English", language: "en-US", file: "en.json" },
],
},
hooks: {
Expand Down

0 comments on commit 7da625d

Please sign in to comment.