From d5eb5c1dfa2110884834cf4c5d8c6dc0314cd168 Mon Sep 17 00:00:00 2001 From: Arthur Buldauskas Date: Sun, 11 Aug 2024 14:02:06 -0400 Subject: [PATCH] debug --- cypress.config.js | 2 +- package.json | 2 +- vite.config.mjs | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/cypress.config.js b/cypress.config.js index 9be80c5..29f20c5 100644 --- a/cypress.config.js +++ b/cypress.config.js @@ -26,7 +26,7 @@ module.exports = defineConfig({ e2e: { video: true, videoCompression: true, - baseUrl: 'http://localhost:8080', + baseUrl: 'http://127.0.0.1:8080', setupNodeEvents(on, config) { require('./cypress-node-events')(on); diff --git a/package.json b/package.json index 724bd60..876d0cc 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "e2e": "NODE_OPTIONS=--dns-result-order=ipv4first c8 -o ./coverage-cypress -r=text -r=lcov node ./e2e-backend.mjs", "e2e-dev": "nodemon --watch ext --watch src --exec ./e2e-backend.mjs", "cy": "HTTP_PROXY=http://localhost:8000 cypress open --component", - "cy-ci": "NODE_OPTIONS=--dns-result-order=ipv4first HTTP_PROXY=http://127.0.0.1:8000 NO_PROXY=http://localhost:8080 cypress run --e2e", + "cy-ci": "NODE_OPTIONS=--dns-result-order=ipv4first HTTP_PROXY=http://127.0.0.1:8000 NO_PROXY=http://127.0.0.1:8080 cypress run --e2e", "lint": "eslint src/**/*.mjs", "format": "prettier --write ./src", "shutdown": "curl localhost:9000/shutdown", diff --git a/vite.config.mjs b/vite.config.mjs index 9569a1e..41d1916 100644 --- a/vite.config.mjs +++ b/vite.config.mjs @@ -16,6 +16,7 @@ export default defineConfig({ }, }, preview: { + host: 'http://127.0.0.1', port: '8080', }, });