fix: log if url signing is enabled (not disabled)
This commit is contained in:
parent
dc0e9990c2
commit
2d91e4fe3e
4
main.ts
4
main.ts
|
@ -71,8 +71,8 @@ async function handleRequest(req: Request, info: Deno.ServeHandlerInfo): Promise
|
|||
if (import.meta.main) {
|
||||
setupLogs();
|
||||
|
||||
if (!config.signKey) {
|
||||
log.warn("url signing disabled");
|
||||
if (config.signKey) {
|
||||
log.info("url signing enabled");
|
||||
}
|
||||
|
||||
log.info(`starting webserver on ${config.hostname}:${config.port}`);
|
||||
|
|
Loading…
Reference in New Issue