Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
devops-chris authored Dec 28, 2023
1 parent 9674752 commit 30320c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Bun.serve({
return new Response(file);
},
error() {
// If error, route to index.html
let filePath = BASE_PATH + "/index.html";
const file = Bun.file(filePath);
return new Response(file);
Expand Down

0 comments on commit 30320c1

Please sign in to comment.