mirror of
https://github.com/strapi/strapi.git
synced 2025-12-24 21:54:24 +00:00
Update packages/plugins/users-permissions/server/bootstrap/index.js
Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com>
This commit is contained in:
parent
24063c6c2f
commit
65c03caede
@ -42,7 +42,7 @@ module.exports = async ({ strapi }) => {
|
||||
|
||||
const initGrant = async pluginStore => {
|
||||
const apiPrefix = strapi.config.get('api.rest.prefix');
|
||||
const baseURL = urljoin(`${strapi.config.server.url}/`, apiPrefix, '/auth');
|
||||
const baseURL = urljoin(strapi.config.server.url, apiPrefix, 'auth');
|
||||
|
||||
const grantConfig = {
|
||||
email: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user