diff --git a/packages/endpoint-micropub/index.js b/packages/endpoint-micropub/index.js index dc4d97dc2..9523e0805 100644 --- a/packages/endpoint-micropub/index.js +++ b/packages/endpoint-micropub/index.js @@ -24,6 +24,9 @@ export default class MicropubEndpoint { Indiekit.addCollection("posts"); Indiekit.addEndpoint(this); - Indiekit.config.application.micropubEndpoint = this.mountPath; + // Only mount if micropub endpoint not already configured + if (!Indiekit.config.application.micropubEndpoint) { + Indiekit.config.application.micropubEndpoint = this.mountPath; + } } }