Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.
Go dockerfossgomarkdownmemomicroblognote-takingnotesopen-sourceown-your-datareactself-hostedsqlitetimeline
chore: add env example
Stevenab4a670becae
diff --git a/web/.env.example b/web/.env.examplenew file mode 100644index 000000000..0f4e8826d--- /dev/null+++ b/web/.env.example@@ -0,0 +1 @@+VITE_API_BASE_URL=http://localhost:8081diff --git a/web/src/helpers/api.ts b/web/src/helpers/api.tsindex 0d6a26a78..f318d1efe 100644--- a/web/src/helpers/api.ts+++ b/web/src/helpers/api.ts@@ -1,7 +1,7 @@import axios from "axios";import { Resource } from "@/types/proto/api/v2/resource_service";-axios.defaults.baseURL = import.meta.env.VITE_API_BASE_URL || window.location.origin;+axios.defaults.baseURL = import.meta.env.VITE_API_BASE_URL || "";axios.defaults.withCredentials = true;export function getSystemStatus() {