From 92b5b56ac7a4b6a3251ddb7e65f249ba11d24538 Mon Sep 17 00:00:00 2001
From: Manav Rathi <manav@mrmr.io>
Date: Mon, 15 Apr 2024 10:06:14 +0530
Subject: [PATCH] Add docs

---
 docs/docs/self-hosting/faq/sharing.md | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/docs/docs/self-hosting/faq/sharing.md b/docs/docs/self-hosting/faq/sharing.md
index 0ad58e1c0..4e3652ff7 100644
--- a/docs/docs/self-hosting/faq/sharing.md
+++ b/docs/docs/self-hosting/faq/sharing.md
@@ -41,3 +41,19 @@ NEXT_PUBLIC_ENTE_ENDPOINT=http://localhost:8080 \
     NEXT_PUBLIC_ENTE_ALBUMS_ENDPOINT=http://localhost:3002 \
     yarn dev:albums
 ```
+
+If you also want to change the prefix (the origin) in the generated public
+links, to use your custom albums endpoint in the generated public link instead
+of albums.ente.io, set `apps.public-albums` property in museum's configuration
+
+For example, when running using the starter docker compose file, you can do this
+by creating a `museum.yaml` and defining the following configuration there:
+
+```yaml
+apps:
+    public-albums: http://localhost:3002
+```
+
+(For more details, see
+[local.yaml](https://github.com/ente-io/ente/blob/main/server/configurations/local.yaml)
+in the server's source code).