Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
xieyuheng committed Sep 25, 2023
1 parent a0ce89a commit ee7a2eb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,9 @@ https://www.fidb.app
```

When using `x-server serve-many`,
the `hostname` option is required,
and each website in `/websites` might have
the `hostname` option is required.

And each website in `/websites` might have
it's own `website.json` config file,

Instead of issuing long command,
Expand Down
2 changes: 1 addition & 1 deletion src/utils/node/requestPath.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type Http from "node:http"
import { normalize } from "node:path"
import { requestPathname } from "../../utils/node/requestPathname"
import { requestPathname } from "./requestPathname"

export function requestPath(request: Http.IncomingMessage): string {
const pathname = requestPathname(request)
Expand Down

0 comments on commit ee7a2eb

Please sign in to comment.