1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00

setting.service fix

This commit is contained in:
Patrik J. Braun 2018-12-04 13:52:49 +01:00
parent 4d51010e11
commit 77b66c49c9
3 changed files with 4 additions and 3 deletions

View File

@ -65,7 +65,7 @@ export interface ServerConfig {
sharing: SharingConfig; sharing: SharingConfig;
sessionTimeout: number; sessionTimeout: number;
indexing: IndexingConfig; indexing: IndexingConfig;
photoMetadataSize:number; photoMetadataSize: number;
} }
export interface IPrivateConfig { export interface IPrivateConfig {

View File

@ -36,7 +36,7 @@
<h3> <h3>
PiGallery 2 is a self-hosted directory-first photo gallery website. PiGallery 2 is a self-hosted directory-first photo gallery website.
</h3> </h3>
<a href="https://pigallery2.herokuapp.com/">Try our live demo! <span class="small">(First load may tak up 30s, while the server boots up)</span></a> <a href="https://pigallery2.herokuapp.com/">Try our live demo! <span class="small">(First load may take up 30s, while the server boots up)</span></a>
</div> </div>
</div> </div>
<img class="banner-photo" src="assets/main_page.jpg" style="width: 100%"> <img class="banner-photo" src="assets/main_page.jpg" style="width: 100%">

View File

@ -80,7 +80,8 @@ export class SettingsService {
cachedFolderTimeout: 0, cachedFolderTimeout: 0,
folderPreviewSize: 0, folderPreviewSize: 0,
reIndexingSensitivity: ReIndexingSensitivity.medium reIndexingSensitivity: ReIndexingSensitivity.medium
} },
photoMetadataSize: 512 * 1024
} }
}); });
} }