Update packages/plugins/users-permissions/server/bootstrap/index.js

Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com>
This commit is contained in:
smoothdvd 2022-02-11 18:51:01 +08:00 committed by GitHub
parent 24063c6c2f
commit 65c03caede
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: {