Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

fix: update default API URL to localhost and add ASCII art logo in main entry file

Andrej Acevski0b44b86ef067
diff --git a/apps/web/src/main.tsx b/apps/web/src/main.tsx
index 857838c92..d323cccd5 100644
--- a/apps/web/src/main.tsx
+++ b/apps/web/src/main.tsx
@@ -12,6 +12,15 @@ import { ErrorFallback } from "./components/ui/error-fallback";
import { KeyboardShortcutsProvider } from "./hooks/use-keyboard-shortcuts";
import { routeTree } from "./routeTree.gen";
+console.log(`
+██╗ ██╗ █████╗ ███╗ ██╗███████╗ ██████╗
+██║ ██╔╝██╔══██╗████╗ ██║██╔════╝██╔═══██╗
+█████╔╝ ███████║██╔██╗ ██║█████╗ ██║ ██║
+██╔═██╗ ██╔══██║██║╚██╗██║██╔══╝ ██║ ██║
+██║ ██╗██║ ██║██║ ╚████║███████╗╚██████╔╝
+╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═══╝╚══════╝ ╚═════╝
+`);
+
const router = createRouter({
routeTree,
defaultPreload: "intent",
diff --git a/packages/libs/src/hono.ts b/packages/libs/src/hono.ts
index 1d7cd17ca..4e0a1660b 100644
--- a/packages/libs/src/hono.ts
+++ b/packages/libs/src/hono.ts
@@ -4,7 +4,7 @@ import type { AppType } from "@kaneo/api";
import { hc } from "hono/client";
export const client = hc<AppType>(
- import.meta.env.VITE_API_URL || "http://andrej.cxom:1337",
+ import.meta.env.VITE_API_URL || "http://localhost:1337",
{
fetch: (input: RequestInfo | URL, init?: RequestInit) => {
return fetch(input, {