This commit is contained in:
@@ -43,6 +43,10 @@ export default defineNuxtConfig({
|
||||
// browser calls /api on its own origin and nginx routes it to the
|
||||
// backend; dev keeps the absolute localhost address.
|
||||
apiBase: process.env.NUXT_PUBLIC_API_BASE ?? 'http://localhost:5000',
|
||||
// Where the Lean editor server (lean4web — see lean/) lives: /lean
|
||||
// frames this address. It is the browser's own way in, not the
|
||||
// server's — the iframe talks to its own origin from there on.
|
||||
leanUrl: process.env.NUXT_PUBLIC_LEAN_URL ?? 'http://localhost:8080',
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user