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

Add /stats.js and refactor into middlewares #73

Merged
merged 3 commits into from
Apr 12, 2024
Merged

Conversation

parkr
Copy link
Owner

@parkr parkr commented Apr 12, 2024

Add /stats.js which will make an XHR request for you and call a callback of a specified name.

Some common features are now middlewares:

  1. Respecting the DNT header
  2. Host verification
  3. CORS

cors/cors.go Fixed Show fixed Hide fixed
ping.go Fixed Show fixed Hide fixed
ping.go Fixed Show fixed Hide fixed
@parkr parkr merged commit 791e605 into main Apr 12, 2024
4 checks passed
@parkr parkr deleted the middleware-refactor branch April 12, 2024 22:06
@parkr parkr changed the title Refactor into middlewares Add /stats.js and refactor into middlewares Apr 12, 2024
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.

1 participant