We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76a4ff8 commit b42b555Copy full SHA for b42b555
1 file changed
netlify/edge-functions/inject-env.js
@@ -3,7 +3,7 @@ export default async (request, context) => {
3
const url = new URL(request.url);
4
5
// Only process HTML pages
6
- const isHtmlPage = url.pathname.endsWith('.html') || url.pathname === '/';
+ const isHtmlPage = url.pathname.endsWith('.html') || url.pathname === '/'||url.pathname.startsWith('/s=');
7
if (!isHtmlPage) {
8
return; // Let the request pass through unchanged
9
}
0 commit comments