Closed derrickmehaffy closed 1 year ago
In your ./config/api.js set the API Prefix to anything other than /api (which is the default:
/api
module.exports = ({ env }) => ({ rest: { prefix: env('API_PREFIX', '/v1'), defaultLimit: env('API_DEFAULT_LIMIT', 25), maxLimit: env('API_MAX_LIMIT', 100), withCount: env('API_WITH_COUNT', true), }, });
And check that the content-types are still cached compared to before this PR where if the prefix is not set to /api then nothing will be cached.
What it does
How to test it
In your ./config/api.js set the API Prefix to anything other than
/api
(which is the default:And check that the content-types are still cached compared to before this PR where if the prefix is not set to
/api
then nothing will be cached.