Fix invalid variable reference

This commit is contained in:
Andrew Eisenberg
2023-04-17 15:47:06 -07:00
parent 26459ded79
commit d20600320f

View File

@@ -611,8 +611,11 @@ export function isCodespacesTemplate() {
const DATABASE_DOWNLOAD_SETTING = new Setting("databaseDownload", ROOT_SETTING);
export const ALLOW_HTTP_SETTING = new Setting("allowHttp", DATABASE_DOWNLOAD_SETTING);
export const ALLOW_HTTP_SETTING = new Setting(
"allowHttp",
DATABASE_DOWNLOAD_SETTING,
);
export function allowHttp(): boolean {
return ALLOW_HTTP.getValue<boolean>() || false;
return ALLOW_HTTP_SETTING.getValue<boolean>() || false;
}