UNPKG

strapi-plugin-publisher

Version:

A plugin for Strapi Headless CMS that provides the ability to schedule publishing for any content type.

10 lines (8 loc) 276 B
import { pluginId } from '../pluginId'; /** * Auto prefix URLs with the plugin id * * @param {String} endpoint plugin specific endpoint * @returns {String} plugin id prefixed endpoint */ export const getPluginEndpointURL = (endpoint: any) => `/${pluginId}/${endpoint}`;