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

Feature request: A unique user agent for the app #514

Closed
DanteMS opened this issue Sep 22, 2024 · 2 comments · Fixed by #544
Closed

Feature request: A unique user agent for the app #514

DanteMS opened this issue Sep 22, 2024 · 2 comments · Fixed by #544
Labels
enhancement New feature or request

Comments

@DanteMS
Copy link
Contributor

DanteMS commented Sep 22, 2024

What's the feature 🧐

A unique user agent for the app. For example, KitchenOwl-android/0.5.2. The user agent it uses for now is Dart/3.4 (dart:io).
A possible use case: on my server I'm using a user agent-based redirection, so users wouldn't have to remember which subdomain to use for which app.

@TomBursch
Copy link
Owner

The new user agent will be, as you suggested, KitchenOwl-platform/version.

@DanteMS
Copy link
Contributor Author

DanteMS commented Dec 30, 2024

Thanks for implementing this!
However, some paths, like images, still have the old user agent:

"GET /api/upload/97660742-fa3d-4ca6-8d6c-ee76eafb534a.png HTTP/1.1" 304 0 "-" "Dart/3.6 (dart:io)"
"GET /socket.io/?EIO=4&transport=websocket HTTP/1.1" 101 145 "-" "Dart/3.6 (dart:io)"

TomBursch added a commit that referenced this issue Dec 31, 2024
Mentioned in #514
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Ready for Testing
Development

Successfully merging a pull request may close this issue.

2 participants