Skip to content

Commit

Permalink
docs: fix server assets example path (#2248)
Browse files Browse the repository at this point in the history
  • Loading branch information
kleinpetr authored Mar 14, 2024
1 parent e260665 commit a1d7f41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/1.guide/8.assets.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ All assets in `assets/` directory will be added to the server bundle. After buil

They can be addressed by the `assets:server` mount point using the [storage layer](/guide/storage).

For example, you could store a json file in `assets/server/data.json` and retrieve it in your handler:
For example, you could store a json file in `assets/data.json` and retrieve it in your handler:

```js
export default defineEventHandler(async () => {
Expand Down

0 comments on commit a1d7f41

Please sign in to comment.