https://github.com/fullpipe/caddy-prerender
https://github.com/fullpipe/caddy-prerender
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/fullpipe/caddy-prerender
- Owner: fullpipe
- License: mit
- Created: 2023-10-10T21:57:46.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-11T15:38:47.000Z (over 2 years ago)
- Last Synced: 2025-01-20T17:36:06.786Z (over 1 year ago)
- Language: Go
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# caddy-prerender
not works yet :(
have to deal with caddy http request
it does not contain original host and scheme
```go
// not in r *http.Request or in
or, _ := r.Context().Value(caddyhttp.OriginalRequestCtxKey).(http.Request)
```
As a solution run local file server and bypass chrome requests to it