mirror of
https://github.com/strapi/strapi.git
synced 2025-12-04 19:13:20 +00:00
[v4] Adjust api prefix location
This commit is contained in:
parent
b4a32bc84e
commit
a22ef20100
@ -4,7 +4,7 @@ const { createAPI } = require('./api');
|
||||
|
||||
const createContentAPI = strapi => {
|
||||
const opts = {
|
||||
prefix: strapi.config.get('api.prefix', '/api'),
|
||||
prefix: strapi.config.get('api.rest.prefix', '/api'),
|
||||
type: 'content-api',
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user