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:
@@ -26,6 +26,9 @@ export async function addAllowedHostname(host: string, opts: { config?: string }
|
|||||||
p.log.info(`Hostname ${pc.cyan(normalized)} is already allowed.`);
|
p.log.info(`Hostname ${pc.cyan(normalized)} is already allowed.`);
|
||||||
} else {
|
} else {
|
||||||
p.log.success(`Added allowed hostname: ${pc.cyan(normalized)}`);
|
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")) {
|
if (!(config.server.deploymentMode === "authenticated" && config.server.exposure === "private")) {
|
||||||
|
|||||||
Reference in New Issue
Block a user