Accept SB_USER environment variable as a secondary source of creds (#404)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user