Accept SB_USER environment variable as a secondary source of creds (#404)

This commit is contained in:
rjgibson
2023-05-21 13:07:34 +02:00
committed by GitHub
parent f0f04b8569
commit 9b49317bbf
3 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ export class HttpServer {
this.hostname = options.hostname;
this.port = options.port;
this.app = new Application(); //{ serverConstructor: FlashServer });
this.user = options.user;
this.user = options.user ?? Deno.env.get("SB_USER");
this.systemBoot = new SpaceSystem(
options.assetBundle,
options.pagesPath,