diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-08-07 13:25:50 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-08-07 13:25:50 +0900 |
| commit | 7bd33ecc72c7cbb53a15f3a74f7548564c75fa6b (patch) | |
| tree | 19c0e4d1771baf02c3e7bb59574262f2f949cc8f /src/config | |
| parent | :pizza: (diff) | |
| download | sharkey-7bd33ecc72c7cbb53a15f3a74f7548564c75fa6b.tar.gz sharkey-7bd33ecc72c7cbb53a15f3a74f7548564c75fa6b.tar.bz2 sharkey-7bd33ecc72c7cbb53a15f3a74f7548564c75fa6b.zip | |
:v:
Diffstat (limited to 'src/config')
| -rw-r--r-- | src/config/load.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config/load.ts b/src/config/load.ts index 44a24c96ae..1c59f82b3e 100644 --- a/src/config/load.ts +++ b/src/config/load.ts @@ -47,6 +47,8 @@ export default function load() { if (config.localDriveCapacityMb == null) config.localDriveCapacityMb = 256; if (config.remoteDriveCapacityMb == null) config.remoteDriveCapacityMb = 8; + if (config.name == null) config.name = 'Misskey'; + return Object.assign(config, mixin); } |