mirror of
https://github.com/zoriya/flood.git
synced 2026-05-31 10:22:44 +00:00
Provide defaults for user config
This commit is contained in:
@@ -26,11 +26,11 @@ class ConfigStoreClass extends BaseStore {
|
||||
}
|
||||
|
||||
getBaseURI() {
|
||||
return this.userConfig.baseURI;
|
||||
return this.userConfig.baseURI || '/';
|
||||
}
|
||||
|
||||
getPollInterval() {
|
||||
return this.userConfig.pollInterval;
|
||||
return this.userConfig.pollInterval || 5000;
|
||||
}
|
||||
|
||||
storeUserConfig() {
|
||||
|
||||
Reference in New Issue
Block a user