diff --git a/indiekit.config.mjs b/indiekit.config.mjs index 69c8b7f9..22a8dfd1 100644 --- a/indiekit.config.mjs +++ b/indiekit.config.mjs @@ -125,15 +125,8 @@ const webmentionSenderTimeout = Number.isFinite(webmentionSenderTimeoutRaw) : 10000; const webmentionSenderUserAgent = process.env.WEBMENTION_SENDER_USER_AGENT || `${siteName} Webmention Sender`; -const webmentionsProxyMountPath = - process.env.WEBMENTIONS_PROXY_MOUNT_PATH || "/webmentions-api"; -const webmentionsProxyCacheTtlRaw = Number.parseInt( - process.env.WEBMENTIONS_PROXY_CACHE_TTL || "60", - 10, -); -const webmentionsProxyCacheTtl = Number.isFinite(webmentionsProxyCacheTtlRaw) - ? webmentionsProxyCacheTtlRaw - : 60; +const webmentionIoMountPath = + process.env.WEBMENTION_IO_MOUNT_PATH || "/webmentions"; const commentsMountPath = process.env.COMMENTS_MOUNT_PATH || "/comments"; const commentsRateLimitPerHourRaw = Number.parseInt( process.env.COMMENTS_RATE_LIMIT_PER_HOUR || "5", @@ -301,7 +294,6 @@ export default { "@rmdes/indiekit-preset-eleventy", "@rmdes/indiekit-endpoint-github", "@rmdes/indiekit-endpoint-webmention-io", - "@rmdes/indiekit-endpoint-webmentions-proxy", "@rmdes/indiekit-endpoint-webmention-sender", "@rmdes/indiekit-endpoint-homepage", "@rmdes/indiekit-endpoint-conversations", @@ -350,15 +342,10 @@ export default { username: githubUsername, }, "@rmdes/indiekit-endpoint-webmention-io": { + mountPath: webmentionIoMountPath, token: process.env.WEBMENTION_IO_TOKEN, domain: webmentionDomain, }, - "@rmdes/indiekit-endpoint-webmentions-proxy": { - mountPath: webmentionsProxyMountPath, - token: process.env.WEBMENTION_IO_TOKEN, - domain: webmentionDomain, - cacheTtl: webmentionsProxyCacheTtl, - }, "@rmdes/indiekit-endpoint-webmention-sender": { mountPath: webmentionSenderMountPath, timeout: webmentionSenderTimeout,