setup electron app for production

This commit is contained in:
talksik
2026-04-13 10:03:23 -07:00
parent 1579de8c6d
commit 106254ef83
13 changed files with 96 additions and 21 deletions
+2 -1
View File
@@ -1,3 +1,4 @@
import { appConfig } from "@/config/env";
import { useSessionStore } from "@/stores/session-store";
import type { z } from "zod";
import {
@@ -218,7 +219,7 @@ class ApiClient {
}
export const apiClient = new ApiClient({
baseUrl: "https://orion.dev.flowy.live",
baseUrl: appConfig.orionUrl,
getToken: () => useSessionStore.getState().token,
onUnauthorized: () => useSessionStore.getState().clearToken(),
});