mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 10:21:36 +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')();
|
|
}
|
|
};
|