mirror of
https://github.com/seriousm4x/UpSnap.git
synced 2026-07-23 05:53:55 -04:00
fix convert bool for BACKEND_IS_PROXIED
!!'false' converts into true. comparing the string fixes the bool
This commit is contained in:
@@ -52,7 +52,7 @@ export default {
|
||||
}),
|
||||
replace({
|
||||
BACKEND_PORT: JSON.stringify(process.env.BACKEND_PORT),
|
||||
BACKEND_IS_PROXIED: JSON.stringify(!!process.env.BACKEND_IS_PROXIED),
|
||||
BACKEND_IS_PROXIED: JSON.stringify(process.env.BACKEND_IS_PROXIED).toLowerCase() === 'true',
|
||||
preventAssignment: true
|
||||
}),
|
||||
// we'll extract any component CSS out into
|
||||
|
||||
Reference in New Issue
Block a user