https://github.com/markthree/nitro-public-repo
nitro sends files in public efficiently in development, but occasionally 404s in production.
https://github.com/markthree/nitro-public-repo
Last synced: 3 months ago
JSON representation
nitro sends files in public efficiently in development, but occasionally 404s in production.
- Host: GitHub
- URL: https://github.com/markthree/nitro-public-repo
- Owner: markthree
- Created: 2023-08-26T05:53:29.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-26T06:02:49.000Z (over 2 years ago)
- Last Synced: 2025-06-02T08:18:26.873Z (11 months ago)
- Size: 685 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# nitro-public-repo
nitro sends files in public efficiently in development, but occasionally `404`
in production.

## Usage
### dev
```shell
npm install
npm run dev
```
Reopen multiple times →
[http://localhost:3000/hello.txt](http://localhost:3000/hello.txt) is ok!
### prod
```shell
npm install
npm run build
npm run serve
```
Reopen multiple times →
[http://localhost:3000/hello.txt](http://localhost:3000/hello.txt) may appear
404
## info
