@mindexec/cli 0.2.183 → 0.2.184
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/server.js +1 -1
- package/wwwroot/appsettings.json +1 -1
package/package.json
CHANGED
package/server.js
CHANGED
|
@@ -5487,7 +5487,7 @@ function readSupabaseRuntimeConfig() {
|
|
|
5487
5487
|
|
|
5488
5488
|
for (const candidate of Array.from(new Set(candidates.map(item => path.resolve(item))))) {
|
|
5489
5489
|
try {
|
|
5490
|
-
const payload = JSON.parse(readFileSync(candidate, 'utf8'));
|
|
5490
|
+
const payload = JSON.parse(readFileSync(candidate, 'utf8').replace(/^\uFEFF/, ''));
|
|
5491
5491
|
const url = String(payload?.Supabase?.Url || '').trim().replace(/\/+$/, '');
|
|
5492
5492
|
const key = String(payload?.Supabase?.Key || payload?.Supabase?.AnonKey || payload?.Supabase?.PublishableKey || '').trim();
|
|
5493
5493
|
if (url && key) {
|
package/wwwroot/appsettings.json
CHANGED