Skip to content

Commit 45e5514

Browse files
feat(CI) : vite server now listen on all addresses (#168)
1 parent 7435604 commit 45e5514

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

front/cypress/e2e/mapInteractions.cy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ describe("Map interactions", () => {
1414
cy.contains("OpenStreetMap Contributors").should("exist")
1515
})
1616

17-
it.skip("Verifies map layer switching and popup behavior", () => {
17+
it("Verifies map layer switching and popup behavior", () => {
1818
// eslint-disable-line cypress/no-unnecessary-waiting
1919
cy.getBySel("map-legend-title").should("contain", DataTypeToLabel[DataType.PLANTABILITY])
2020
cy.mapOpenPopup()

front/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
"private": true,
55
"type": "module",
66
"scripts": {
7-
"dev": "vite --host 0.0.0.0",
7+
"dev": "vite",
88
"build": "run-p type-check \"build-only {@}\" --",
9-
"preview": "vite preview",
9+
"preview": "vite preview --port 4173",
1010
"test": "vitest tests",
1111
"test:unit": "vitest",
1212
"test:cypress": "start-server-and-test preview http://localhost:4173 'cypress run'",

front/vite.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ export default defineConfig({
1515
// vueDevTools(),
1616
],
1717
server: {
18-
port: 3000
18+
port: 3000,
19+
host: "0.0.0.0"
1920
},
2021
resolve: {
2122
alias: {

0 commit comments

Comments
 (0)