Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

Commit

Permalink
localhost -> 127.0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
USA-RedDragon committed Nov 17, 2023
1 parent c397eaa commit 15ca450
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cypress.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ export default defineConfig({
},
specPattern: 'tests/e2e/**/*.{cy,spec}.{js,jsx,ts,tsx}',
excludeSpecPattern: 'tests/e2e/screenshots/*',
baseUrl: 'http://localhost:4173',
baseUrl: 'http://127.0.0.1:4173',
},
});
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
"build:pre": "node scripts/get_images.mjs && node scripts/sitemap.mjs",
"build": "npm run build:pre && vite build",
"preview": "vite preview",
"test:e2e": "start-server-and-test preview localhost:4173 'cypress run --e2e --headed'",
"test:e2e": "start-server-and-test preview 127.0.0.1:4173 'cypress run --e2e --headed'",
"test:e2e:electron": "npm run test:e2e",
"test:e2e:chrome": "start-server-and-test preview localhost:4173 'cypress run --e2e --headed --browser chrome'",
"test:e2e:firefox": "start-server-and-test preview localhost:4173 'cypress run --e2e --headed --browser firefox'",
"test:e2e:dev": "start-server-and-test 'vite dev --port 4173' localhost:4173 'cypress open --e2e'",
"test:e2e:chrome": "start-server-and-test preview 127.0.0.1:4173 'cypress run --e2e --headed --browser chrome'",
"test:e2e:firefox": "start-server-and-test preview 127.0.0.1:4173 'cypress run --e2e --headed --browser firefox'",
"test:e2e:dev": "start-server-and-test 'vite dev --port 4173' 127.0.0.1:4173 'cypress open --e2e'",
"test:unit": "vitest run",
"test:unit:dev": "vitest",
"lint": "eslint --ext .vue,.js,.jsx,.cjs,.mjs --ignore-path .gitignore src/ tests/",
Expand Down

0 comments on commit 15ca450

Please sign in to comment.