Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

feat: add MCP output schemas

Marc Seitz91f7d62ff9d8
diff --git a/next.config.mjs b/next.config.mjs
index a156cc59..34880394 100644
--- a/next.config.mjs
+++ b/next.config.mjs
@@ -34,6 +34,11 @@ const nextConfig = {
source: "/.well-known/oauth-protected-resource",
destination: "/api/well-known/oauth-protected-resource",
},
+ // ChatGPT app submission domain ownership challenge.
+ {
+ source: "/.well-known/openai-apps-challenge",
+ destination: "/api/well-known/openai-apps-challenge",
+ },
];
const beforeFiles = [];
const apiHost = process.env.NEXT_PUBLIC_API_BASE_HOST;
@@ -107,6 +112,12 @@ const nextConfig = {
destination: "/api/well-known/oauth-protected-resource",
has: [{ type: "host", value: mcpHost }],
},
+ // ChatGPT app submission domain ownership challenge.
+ {
+ source: "/.well-known/openai-apps-challenge",
+ destination: "/api/well-known/openai-apps-challenge",
+ has: [{ type: "host", value: mcpHost }],
+ },
// Custom OIDC discovery doc: issuer stays on app domain but
// authorization_endpoint points at the interstitial below.
{