We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 575a19e commit a130e68Copy full SHA for a130e68
1 file changed
packages/start/src/server/handler.ts
@@ -83,12 +83,6 @@ export function createBaseHandler(
83
}, resolvedOptions);
84
const stream = _stream as typeof _stream & Promise<string> // stream has a hidden 'then' method
85
86
- if (event.request.headers.get("x-nitro-prerender")) {
87
- const _html = await stream;
88
- const html = _html.replaceAll(/data-hk=(\d+)(?=\s|>)/g, 'data-hk="$1"');
89
- return html
90
- }
91
-
92
// insert redirect handling here
93
94
if (mode === "async") return stream
0 commit comments