Currently if someone goes to hush.is there is no direct link to download a mobile wallet from the main page. They have to click around to various links and it's not intuitive. We may want it to that we have a direct link to download SDA on the main hush.is index page if the current device is mobile.
Currently if someone goes to hush.is there is no direct link to download a mobile wallet from the main page. They have to click around to various links and it's not intuitive. We may want it to that we have a direct link to download SDA on the main hush.is index page if the current device is mobile.
usually it can be fixed with the proper nginx config and mime type, but i'm not sure what it is currently. something like this might work.
```
location ~* \.apk$ {
types {
application/vnd.android.package-archive apk;
}
add_header Content-Disposition "attachment";
}
```
@fekt it's possible what you have above might work, but part of the issue is that Gitea doesn't use filenames for attachments, they are some unique ID and then the download filename is given in the Content-Disposition header that it generates. Because of this bug, I actually uploaded an actual .apk file to the hush.is website to get around this a long time ago (https://hush.is/android I think), but that URL seemed to have the same bug with this particular phone.
And to clarify, this issue is to make a direct link to download SDA on the main hush.is website when viewed on mobile. The bug with apk/zip stuff is https://git.hush.is/hush/hush.is/issues/32
@fekt it's possible what you have above might work, but part of the issue is that Gitea doesn't use filenames for attachments, they are some unique ID and then the download filename is given in the Content-Disposition header that it generates. Because of this bug, I actually uploaded an actual .apk file to the hush.is website to get around this a long time ago (https://hush.is/android I think), but that URL seemed to have the same bug with this particular phone.
And to clarify, this issue is to make a direct link to download SDA on the main hush.is website when viewed on mobile. The bug with apk/zip stuff is https://git.hush.is/hush/hush.is/issues/32
Currently if someone goes to hush.is there is no direct link to download a mobile wallet from the main page. They have to click around to various links and it's not intuitive. We may want it to that we have a direct link to download SDA on the main hush.is index page if the current device is mobile.
Since lots of Android phones download SDA as a *.zip file and then have issues with it, I'm not sure if there is a direct-link fix for this.
usually it can be fixed with the proper nginx config and mime type, but i'm not sure what it is currently. something like this might work.
@fekt it's possible what you have above might work, but part of the issue is that Gitea doesn't use filenames for attachments, they are some unique ID and then the download filename is given in the Content-Disposition header that it generates. Because of this bug, I actually uploaded an actual .apk file to the hush.is website to get around this a long time ago (https://hush.is/android I think), but that URL seemed to have the same bug with this particular phone.
And to clarify, this issue is to make a direct link to download SDA on the main hush.is website when viewed on mobile. The bug with apk/zip stuff is https://git.hush.is/hush/hush.is/issues/32