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

Update routes.go to download <file>.conf #475

Merged
merged 1 commit into from
Dec 25, 2023

Conversation

MiguSchweiz
Copy link
Contributor

@MiguSchweiz MiguSchweiz commented Oct 28, 2023

use config file download mime type "txt/conf" (previously "txt/plain") to prevent downloaded configs being saved as .txt, instead of wanted .conf (Wireguard app on Android only accepts .conf suffix).

Fault was on Android chrome and firefox.
Fix worked on both of them and on delphin (Android).
Safari on iphone also working

Fix #462

use config file download mime type "txt/conf" to prevent downloaded configs being saved as <filename>.txt, instead of wanted <filename>.conf.
Tested on Android Firefox and Chrome
@ngoduykhanh ngoduykhanh merged commit af7742b into ngoduykhanh:master Dec 25, 2023
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.

Exporting a client's configuration from Android produces a .txt file
2 participants