Add Fleet control plane and split manage.sh deploy menu.
Strategy nodes gain fleet token APIs; control/ app for local ops; manage.sh offers strategy vs control one-click deploy. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -120,7 +120,10 @@ export async function apiFetch<T>(
|
||||
path: string,
|
||||
options: RequestInit = {},
|
||||
): Promise<T> {
|
||||
if (!path.startsWith("/api/auth/login")) {
|
||||
if (
|
||||
!path.startsWith("/api/auth/login") &&
|
||||
!path.startsWith("/api/auth/fleet-exchange")
|
||||
) {
|
||||
await ensureFreshToken();
|
||||
}
|
||||
const base = getApiBase();
|
||||
|
||||
Reference in New Issue
Block a user