diff --git a/.vite/server.ts b/.vite/server.ts index 685a94ce6..d71251581 100644 --- a/.vite/server.ts +++ b/.vite/server.ts @@ -12,10 +12,10 @@ async function createServer() { appType: 'custom', // don't include Vite's default HTML handling middlewares }); + app.use(vite.middlewares); app.use(express.static('dist')); app.use(express.static('demos')); app.use(express.static('cypress/platform')); - app.use(vite.middlewares); app.listen(9000, () => { console.log(`Listening on http://localhost:9000`); diff --git a/cypress/platform/e2e.html b/cypress/platform/e2e.html index a23911334..c686afc88 100644 --- a/cypress/platform/e2e.html +++ b/cypress/platform/e2e.html @@ -2,7 +2,7 @@
- + - +