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: fixing local development setup

Andrej894d55d1c644
diff --git a/apps/web/vite.config.ts b/apps/web/vite.config.ts
index 8d3d292e1..f16255fe2 100644
--- a/apps/web/vite.config.ts
+++ b/apps/web/vite.config.ts
@@ -9,9 +9,7 @@ export default defineConfig({
plugins: [TanStackRouterVite(), react()],
server: {
host: true,
- hmr: {
- host: "0.0.0.0",
- },
+ hmr: true,
port: 5173,
},
resolve: {
diff --git a/packages/libs/src/eden.ts b/packages/libs/src/eden.ts
index 9b8a47888..b59e5a400 100644
--- a/packages/libs/src/eden.ts
+++ b/packages/libs/src/eden.ts
@@ -2,7 +2,7 @@ import { treaty } from "@elysiajs/eden";
import type { App } from "@kaneo/api";
export const api = treaty<App>(
- import.meta.env.VITE_API_URL ?? "http://0.0.0.0:1337",
+ import.meta.env.VITE_API_URL ?? "http://localhost:1337",
{
fetch: {
credentials: "include",