mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-21 09:52:06 +03:00
3b366dc55d
no issue - moved `config` and `site` API output generation to a `public-config` service allowing all API versions to use `publicConfig.config` or `publicConfig.site` in their query methods - updated `config` and `site` API output serializers to use an allow-list that limits the data returned for each API version
9 lines
145 B
JavaScript
9 lines
145 B
JavaScript
module.exports = {
|
|
get config() {
|
|
return require('./config')();
|
|
},
|
|
get site() {
|
|
return require('./site')();
|
|
}
|
|
};
|