mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-23 02:41:50 +03:00
5d977f23d4
refs #10318 - This settings endpoint returns the commonly used, public information from our settings. - The values are whitelisted each with a custom name for returning from the endpoint
23 lines
606 B
JavaScript
23 lines
606 B
JavaScript
/**
|
|
* The settings with type "blog" were originally meant to be public
|
|
* This has been misused - unsplash and slack are incorrectly stored there
|
|
* https://github.com/TryGhost/Ghost/issues/10318
|
|
*
|
|
* This file acts as a new whitelist for "public" settings
|
|
*/
|
|
|
|
module.exports = {
|
|
title: 'title',
|
|
description: 'description',
|
|
logo: 'logo',
|
|
icon: 'icon',
|
|
cover_image: 'cover_image',
|
|
facebook: 'facebook',
|
|
twitter: 'twitter',
|
|
default_locale: 'lang',
|
|
active_timezone: 'timezone',
|
|
ghost_head: 'ghost_head',
|
|
ghost_foot: 'ghost_foot',
|
|
navigation: 'navigation'
|
|
};
|