This commit is contained in:
Sam Denty 2024-10-07 14:57:13 +01:00
parent 18b35794e8
commit eb9a88a12f
No known key found for this signature in database
GPG Key ID: 7B4EAF7B9E291B79

View File

@ -42,10 +42,9 @@ function chrome129IssuePlugin() {
if (version === 129) {
res.setHeader('content-type', 'text/html');
res.write(
res.end(
'<body><h1>Please use Chrome Canary for testing.</h1><p>Chrome 129 has an issue with JavaScript modules & vite local development, see <a href="https://github.com/stackblitz/bolt.new/issues/86#issuecomment-2395519258">here for more.</a></p><p><b>Note:</b> This only impacts <u>local development</u>. `pnpm run build` and `pnpm run start` will work fine in this browser.</p></body>',
);
res.end();
return;
}