Skip to content

Commit 9423047

Browse files
committed
fix: commands for serve from the /site directory
1 parent 6d85efa commit 9423047

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"test:headed": "playwright test --headed",
88
"test:debug": "playwright test --debug",
99
"test:ui": "playwright test --ui",
10-
"serve": "python3 -m http.server 8000"
10+
"serve": "python3 -m http.server 8000 --directory site"
1111
},
1212
"keywords": [
1313
"balatro",

playwright.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ module.exports = defineConfig({
5656
// Auto-start local dev server before running tests
5757
webServer: {
5858
// Use Python's built-in HTTP server (no dependencies needed)
59-
command: 'python3 -m http.server 8000',
59+
command: 'python3 -m http.server 8000 --directory site',
6060
url: 'http://localhost:8000',
6161
reuseExistingServer: !process.env.CI,
6262
// Give the server time to start

0 commit comments

Comments
 (0)