Skip to content

Commit

Permalink
fix: static files path
Browse files Browse the repository at this point in the history
  • Loading branch information
gitfrosh committed Apr 15, 2024
1 parent b5acb50 commit 73e770e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ app.use(express.json());
app.use(express.urlencoded({ extended: false }));
app.use(cors());

app.use(express.static(path.join(__dirname, '/__BUILD'))); // React build
app.use(express.static(path.join(__dirname, '/../__BUILD'))); // React build

const server_port = process.env.PORT || 3001;

Expand Down

0 comments on commit 73e770e

Please sign in to comment.