diff --git a/.drone.yml b/.drone.yml index e1af2d6a7..8e39ebbd2 100644 --- a/.drone.yml +++ b/.drone.yml @@ -98,7 +98,7 @@ steps: CYPRESS_DEFAULT_COMMAND_TIMEOUT: 10000 commands: - sed -i 's/localhost/api/g' index.html - - yarn serve & npx wait-on http://localhost:8080 + - yarn serve & npx wait-on http://localhost:5000 - yarn test:frontend --browser chrome depends_on: - build diff --git a/vite.config.js b/vite.config.js index 25942ac07..946339aae 100644 --- a/vite.config.js +++ b/vite.config.js @@ -74,6 +74,10 @@ module.exports = { ], extensions: ['.mjs', '.js', '.ts', '.jsx', '.tsx', '.json', '.vue'], }, + server: { + port: 5000, + strictPort: true, + }, build: { target: 'es2015', rollupOptions: {