Skip to content

Commit

Permalink
Merge pull request #681 from magieno/update-cli-to-use-data-mapper
Browse files Browse the repository at this point in the history
- Updat.e
  • Loading branch information
etiennenoel authored Mar 9, 2024
2 parents fb268f2 + 9ee5890 commit de3fb1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/http/src/servers/file.http-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ export class FileHttpServer {

// if is a directory search for index file matching the extension
if (fs.statSync(pathname).isDirectory()) {
ext = "html";
pathname += `index.${ext}`;
ext = ".html";
pathname += `index${ext}`;
}

// read file from file system
Expand Down

0 comments on commit de3fb1d

Please sign in to comment.