Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

fix remix-serve

Blue Mousea54a1897e0a1
diff --git a/package.json b/package.json
index fa7dd9c76..9cb50524b 100644
--- a/package.json
+++ b/package.json
@@ -7,8 +7,8 @@
"deploy": "flyctl deploy --remote-only",
"import-env": "node fly_import_env.js --env-file .env",
"dev:staging": "cross-env STAGING=true remix dev",
- "start": "remix-serve build",
- "start:staging": "cross-env STAGING=true remix-serve build",
+ "start": "remix-serve ./build/index.js",
+ "start:staging": "cross-env STAGING=true remix-serve ./build/index.js",
"test": "jest --transformIgnorePatterns \"node_modules/(?!axios)/\"",
"test:ci": "CI=true npm run test",
"typecheck": "tsc",
diff --git a/remix.config.js b/remix.config.js
index 9e72c33b6..bfa9a791f 100644
--- a/remix.config.js
+++ b/remix.config.js
@@ -5,7 +5,7 @@ module.exports = {
ignoredRouteFiles: ['**/.*'],
appDirectory: 'app',
// assetsBuildDirectory: "public/build",
- // serverBuildPath: "build/index.js",
+ // serverBuildPath: 'build/index.js',
// publicPath: "/build/",
tailwind: true,
postcss: true,