Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update readme with an example of proper "root" when using serveStatic #173

Merged
merged 2 commits into from
Jun 8, 2024

Conversation

brettimus
Copy link
Contributor

@brettimus brettimus commented Jun 7, 2024

Also update the ts doc string for this parameter to be clearer


I noticed in Discord that people have trouble with the root parameter when using serveStatic. I also ran into this issue myself!

This PR updates the README with an example that should hopefully make its usage clearer.

brettimus added 2 commits June 7, 2024 10:39
Update README with example of correct "root" for serveStatic

Also update the ts doc string for this parameter to be clearer
@yusukebe
Copy link
Member

yusukebe commented Jun 8, 2024

Hi @brettimus

Thanks! This is a very helpful instruction. Merging now!

@yusukebe yusukebe merged commit e3b1f82 into honojs:main Jun 8, 2024
4 checks passed
nicolewhite referenced this pull request in autoblocksai/cli Jun 24, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@hono/node-server](https://togithub.com/honojs/node-server) |
[`1.11.2` ->
`1.11.4`](https://renovatebot.com/diffs/npm/@hono%2fnode-server/1.11.2/1.11.4)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@hono%2fnode-server/1.11.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@hono%2fnode-server/1.11.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@hono%2fnode-server/1.11.2/1.11.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@hono%2fnode-server/1.11.2/1.11.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>honojs/node-server (@&#8203;hono/node-server)</summary>

###
[`v1.11.4`](https://togithub.com/honojs/node-server/releases/tag/v1.11.4)

[Compare
Source](https://togithub.com/honojs/node-server/compare/v1.11.3...v1.11.4)

#### What's Changed

- Expose ServerType from './types' by
[@&#8203;raighneweng](https://togithub.com/raighneweng) in
[https://github.com/honojs/node-server/pull/178](https://togithub.com/honojs/node-server/pull/178)

#### New Contributors

- [@&#8203;raighneweng](https://togithub.com/raighneweng) made their
first contribution in
[https://github.com/honojs/node-server/pull/178](https://togithub.com/honojs/node-server/pull/178)

**Full Changelog**:
honojs/node-server@v1.11.3...v1.11.4

###
[`v1.11.3`](https://togithub.com/honojs/node-server/releases/tag/v1.11.3)

[Compare
Source](https://togithub.com/honojs/node-server/compare/v1.11.2...v1.11.3)

#### What's Changed

- Update readme with an example of proper "root" when using serveStatic
by [@&#8203;brettimus](https://togithub.com/brettimus) in
[https://github.com/honojs/node-server/pull/173](https://togithub.com/honojs/node-server/pull/173)
- fix: avoid error when using TRACE method by
[@&#8203;usualoma](https://togithub.com/usualoma) in
[https://github.com/honojs/node-server/pull/175](https://togithub.com/honojs/node-server/pull/175)

#### New Contributors

- [@&#8203;brettimus](https://togithub.com/brettimus) made their first
contribution in
[https://github.com/honojs/node-server/pull/173](https://togithub.com/honojs/node-server/pull/173)

**Full Changelog**:
honojs/node-server@v1.11.2...v1.11.3

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on Monday" in timezone
America/Chicago, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/autoblocksai/cli).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjQxMC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants