diff --git a/next.config.mjs b/next.config.mjs index 102ee3aa..fe9470ca 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -79,11 +79,6 @@ export default withNextra({ }, ]; }, - // This is necessary because we're using CDN domains. - // It adds `cross-origin="anonymous"` to script tags - crossOrigin: "anonymous", - assetPrefix: - process.env.VERCEL_ENV === "production" ? "https://docs-authzed.vercel.app/docs" : undefined, // NOTE: we still use webpack instead of turbopack for dev // because turbopack doesn't support non-serializable nextjs options. // The rehypePrettyCodeOptions in the block above include a function,