mirror of
https://github.com/Cameri/nostream.git
synced 2025-04-09 20:29:07 +02:00
chore: typo fix
This commit is contained in:
parent
655dcde602
commit
4f0e6a8b5d
@ -33,7 +33,7 @@
|
||||
"rateLimits": [
|
||||
{
|
||||
"kinds": [0, 3, 40, 41],
|
||||
"periods": 60000,
|
||||
"period": 60000,
|
||||
"rate": 6
|
||||
},
|
||||
{
|
||||
|
@ -7,6 +7,7 @@ import { createLogger } from '../factories/logger-factory'
|
||||
import { EventKinds } from '../constants/base'
|
||||
import { ISettings } from '../@types/settings'
|
||||
import packageJson from '../../package.json'
|
||||
import settingsSampleJson from '../../settings.sample.json'
|
||||
|
||||
const debug = createLogger('settings')
|
||||
|
||||
@ -161,7 +162,7 @@ export class SettingsStatic {
|
||||
}
|
||||
debug('creating settings')
|
||||
const path = SettingsStatic.getSettingsFilePath()
|
||||
const defaults = SettingsStatic.getDefaultSettings()
|
||||
const defaults = settingsSampleJson as ISettings
|
||||
try {
|
||||
|
||||
if (fs.existsSync(path)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user