@supacloud/admin 0.1.2 → 0.1.4
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/dist/index.js +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -23632,8 +23632,8 @@ ${r.stdout}`;
|
|
|
23632
23632
|
if (!args.project_ref)
|
|
23633
23633
|
throw new Error("'project_ref' required");
|
|
23634
23634
|
const projectRef = assertSafeProjectRef(args.project_ref, "project_ref");
|
|
23635
|
-
const r = await ssh.exec(`cat /etc/supabase/
|
|
23636
|
-
text = `\uD83D\uDCC4 ${projectRef}
|
|
23635
|
+
const r = await ssh.exec(`cat /etc/supabase/tenants/${projectRef}.env 2>/dev/null || echo 'Not found'`, 1e4);
|
|
23636
|
+
text = `\uD83D\uDCC4 ${projectRef} tenant config:
|
|
23637
23637
|
|
|
23638
23638
|
${r.stdout || r.stderr}`;
|
|
23639
23639
|
break;
|
|
@@ -23643,7 +23643,7 @@ ${r.stdout || r.stderr}`;
|
|
|
23643
23643
|
"echo '══════ Multi-tenant Diagnostic ══════'",
|
|
23644
23644
|
"ps aux | grep -E 'postgrest|gotrue' | grep -v grep || echo 'No processes'",
|
|
23645
23645
|
"systemctl list-units 'supacloud-pgrst@*' 'supacloud-gotrue@*' --no-pager 2>/dev/null || echo 'N/A'",
|
|
23646
|
-
"ls -l /etc/supabase/
|
|
23646
|
+
"ls -l /etc/supabase/tenants/*.env 2>/dev/null || echo 'No config'"
|
|
23647
23647
|
];
|
|
23648
23648
|
if (args.project_ref) {
|
|
23649
23649
|
const projectRef = assertSafeProjectRef(args.project_ref, "project_ref");
|