mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-24 03:05:43 +02:00
Rename hybrid to managed
This commit is contained in:
parent
5ff5660db3
commit
60d8831399
17 changed files with 39 additions and 39 deletions
|
@ -96,8 +96,8 @@ export class Config {
|
|||
if (!this.rawConfig) {
|
||||
throw new Error("Config not loaded. Call load() first.");
|
||||
}
|
||||
if (this.rawConfig.hybrid) {
|
||||
// LETS NOT WORRY ABOUT THE SERVER SECRET WHEN HYBRID
|
||||
if (this.rawConfig.managed) {
|
||||
// LETS NOT WORRY ABOUT THE SERVER SECRET WHEN MANAGED
|
||||
return;
|
||||
}
|
||||
license.setServerSecret(this.rawConfig.server.secret!);
|
||||
|
@ -149,8 +149,8 @@ export class Config {
|
|||
return false;
|
||||
}
|
||||
|
||||
public isHybridMode() {
|
||||
return typeof this.rawConfig?.hybrid === "object";
|
||||
public isManagedMode() {
|
||||
return typeof this.rawConfig?.managed === "object";
|
||||
}
|
||||
|
||||
public async checkSupporterKey() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue