Comment out debug code.
This commit is contained in:
parent
035e62e72b
commit
60d1177361
|
@ -84,8 +84,8 @@ export class Main {
|
||||||
// on ready stuff...
|
// on ready stuff...
|
||||||
});
|
});
|
||||||
|
|
||||||
app.commandLine.appendSwitch("ignore-certificate-errors");
|
// app.commandLine.appendSwitch("ignore-certificate-errors");
|
||||||
app.commandLine.appendSwitch("allow-insecure-localhost", "true");
|
// app.commandLine.appendSwitch("allow-insecure-localhost", "true");
|
||||||
|
|
||||||
if (appDataPath != null) {
|
if (appDataPath != null) {
|
||||||
app.setPath("userData", appDataPath);
|
app.setPath("userData", appDataPath);
|
||||||
|
|
|
@ -123,9 +123,9 @@ export class DefaultConfigService implements ConfigService {
|
||||||
serverConfig: ServerConfig | null,
|
serverConfig: ServerConfig | null,
|
||||||
flag: Flag,
|
flag: Flag,
|
||||||
) {
|
) {
|
||||||
if (flag == FeatureFlag.ExtensionRefresh) {
|
// if (flag == FeatureFlag.ExtensionRefresh) {
|
||||||
return true as FeatureFlagValueType<Flag>;
|
// return true as FeatureFlagValueType<Flag>;
|
||||||
}
|
// }
|
||||||
|
|
||||||
if (serverConfig?.featureStates == null || serverConfig.featureStates[flag] == null) {
|
if (serverConfig?.featureStates == null || serverConfig.featureStates[flag] == null) {
|
||||||
return DefaultFeatureFlagValue[flag];
|
return DefaultFeatureFlagValue[flag];
|
||||||
|
|
Loading…
Reference in New Issue