From f37769d3404e16ebb551f68fae109a644d998686 Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Mon, 6 May 2024 14:12:34 +0530 Subject: [PATCH] [docs] Add note about connecting web/desktop app to custom server --- .../docs/self-hosting/guides/custom-server/index.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/docs/self-hosting/guides/custom-server/index.md b/docs/docs/self-hosting/guides/custom-server/index.md index a5ce76cc2..8e16004a1 100644 --- a/docs/docs/self-hosting/guides/custom-server/index.md +++ b/docs/docs/self-hosting/guides/custom-server/index.md @@ -35,3 +35,16 @@ endpoint: ``` (Another [example](https://github.com/ente-io/ente/blob/main/cli/config.yaml.example)) + +## Web appps and Photos desktop app + +You will need to build the app from source and use the +`NEXT_PUBLIC_ENTE_ENDPOINT` environment variable to tell it which server to +connect to. For example: + +```sh +NEXT_PUBLIC_ENTE_ENDPOINT=http://localhost:8080 yarn dev:photos +``` + +For more details, see [hosting the web +app](https://help.ente.io/self-hosting/guides/web-app).