From 306f02f5cd7f0fa27f3e005353d85efa89bf6ae0 Mon Sep 17 00:00:00 2001 From: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com> Date: Sun, 2 Jun 2024 16:49:04 -0600 Subject: [PATCH] chore: add recomendation to show variables --- CONTRIBUTING.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index bc0764d6..41713dc5 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -185,6 +185,7 @@ export function generate(schema: Schema): Template { const toptKeyBase = generateBase64(32); const envs = [ +// If you want to show a domain in the UI, please add the prefix _HOST at the end of the variable name. `PLAUSIBLE_HOST=${randomDomain}`, "PLAUSIBLE_PORT=8000", `BASE_URL=http://${randomDomain}`, @@ -235,5 +236,6 @@ export function generate(schema: Schema): Template { ### Recomendations - Use the same name of the folder as the id of the template. - The logo should be in the public folder. +- If you want to show a domain in the UI, please add the prefix _HOST at the end of the variable name. - Test first on a vps or a server to make sure the template works.