Merge pull request #549 from mvanhorn/osc/538-fix-allowed-hostname-restart-hint

fix(cli): add restart hint after allowed-hostname change
This commit is contained in:
Dotta 2026-03-11 21:15:49 -05:00 committed by GitHub
commit 833ccb9921
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -26,6 +26,9 @@ export async function addAllowedHostname(host: string, opts: { config?: string }
p.log.info(`Hostname ${pc.cyan(normalized)} is already allowed.`);
} else {
p.log.success(`Added allowed hostname: ${pc.cyan(normalized)}`);
p.log.message(
pc.dim("Restart the Paperclip server for this change to take effect."),
);
}
if (!(config.server.deploymentMode === "authenticated" && config.server.exposure === "private")) {