Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
more cleanup + some revert
ErikKaumkf20adb3b078e
diff --git a/apps/docs/next.config.mjs b/apps/docs/next.config.mjsindex 28e6f5a1b..8dd3bfb73 100644--- a/apps/docs/next.config.mjs+++ b/apps/docs/next.config.mjs@@ -47,35 +47,35 @@ const codeSnippetsDir = path.resolve('./src/code')/** @type {import('next').NextConfig} */const nextConfig = {pageExtensions: ['js', 'jsx', 'ts', 'tsx', 'mdx'],- basePath: '/docs',+ // basePath: '/docs',webpack: config => {const codeFilesHash = getFilesHash(codeSnippetsDir)config.cache.version = config.cache.version + delimiter + codeFilesHashreturn config},- async rewrites() {- return {- afterFiles: [- {- source: '/ingest/:path*',- destination: 'https://app.posthog.com/:path*',- // BEWARE: setting basePath will break the analytics proxy- },- { source: '/:path*', destination: '/_404/:path*' },- ]- }+ // async rewrites() {+ // return {+ // afterFiles: [+ // {+ // source: '/ingest/:path*',+ // destination: 'https://app.posthog.com/:path*',+ // // BEWARE: setting basePath will break the analytics proxy+ // },+ // { source: '/:path*', destination: '/_404/:path*' },+ // ]+ // }- },- async redirects() {- return [- {- source: '/',- destination: '/docs',- permanent: false,- basePath: false,- },- ]- },+ // },+ // async redirects() {+ // return [+ // {+ // source: '/',+ // destination: '/docs',+ // permanent: false,+ // basePath: false,+ // },+ // ]+ // },}export default withSearch(