Add /_metadata and /_module functions

Also deprecate ?meta and ?module query params.
This commit is contained in:
Michael Jackson
2019-02-23 22:04:16 -08:00
parent 90fecd39c2
commit 5df576c6be
5 changed files with 58 additions and 24 deletions

View File

@ -2,8 +2,8 @@ import createSearch from '../utils/createSearch';
const knownQueryParams = {
main: true, // Deprecated, see #63
meta: true,
module: true
meta: true, // Deprecated
module: true // Deprecated
};
function isKnownQueryParam(param) {