Update embed hit

This commit is contained in:
Nate Kelley 2025-09-10 17:05:45 -06:00
parent 592e19181c
commit 9dd5db6a77
No known key found for this signature in database
GPG Key ID: FD90372AB8D98B4F
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ export const securityMiddleware = createMiddleware({ type: 'function' }).server(
// Check if this is an embed route by examining the request URL
const request = getWebRequest();
const url = new URL(request.url);
const isEmbed = url.pathname.startsWith('/embed/');
const isEmbed = url.pathname.startsWith('/embed');
setHeaders(createSecurityHeaders(isEmbed));