From 9e35bf6e6f2ff643515e7256b75e4b6964a223f5 Mon Sep 17 00:00:00 2001 From: Sidharth Vinod Date: Fri, 23 Sep 2022 10:40:56 +0530 Subject: [PATCH] fix: tests --- .vite/server.ts | 2 +- cypress/platform/e2e.html | 2 +- cypress/platform/viewer.js | 2 +- cypress/platform/xss.html | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) 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 @@ - + +