Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

fix(server): use SITE_URL in bootstrap startup message

themavik4a58553bca53
diff --git a/backend/src/server/boot-strap-check.ts b/backend/src/server/boot-strap-check.ts
index 91c52d871e..4f2516d3a3 100644
--- a/backend/src/server/boot-strap-check.ts
+++ b/backend/src/server/boot-strap-check.ts
@@ -14,20 +14,21 @@ type BootstrapOpt = {
const bootstrapCb = async () => {
const appCfg = getConfig();
const serverCfg = await getServerCfg();
+ const baseUrl = appCfg.SITE_URL || `http://localhost:${appCfg.PORT}`;
if (!serverCfg.initialized) {
console.info(`Welcome to Infisical
Create your Infisical administrator account at:
-http://localhost:${appCfg.PORT}/admin/signup
+${baseUrl}/admin/signup
`);
} else {
console.info(`Welcome back!
To access Infisical Administrator Panel open
-http://localhost:${appCfg.PORT}/admin
+${baseUrl}/admin
To access Infisical server
-http://localhost:${appCfg.PORT}
+${baseUrl}
`);
}
};