Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
ignore eslint line
Vasek Mlejnsky10a7bc910513
diff --git a/apps/web/src/middleware.ts b/apps/web/src/middleware.tsindex 55961d0da..0f7c8274d 100644--- a/apps/web/src/middleware.ts+++ b/apps/web/src/middleware.ts@@ -62,7 +62,8 @@ export async function middleware(req: NextRequest): Promise<NextResponse> {// !!! NOTE: Replace has intentionally not completed quotes to catch the rest of the path !!!const modifiedHtmlBody = replaceUrls(htmlBody, url.pathname, 'href="', '">')- // Remove the script with cdn.prod.website-files.com hostname+ // Even though we are paying for a Webflow tier that allows us to remove the badge, it doesn't work.+ // eslint-disable-next-lineconst scriptRegex = /<script src="https:\/\/cdn\.prod\.website-files\.com\/[^\"]*\.js" type="text\/javascript"><\/script>/gconst cleanedHtmlBody = modifiedHtmlBody.replace(scriptRegex, '')