How to fix the package URL redirects to another URL, even if my url is in correct format?

Krish Gaur 0 Reputation points Student Ambassador
2024-06-26T08:03:39.1866667+00:00

I'm having trouble when distributing software using platforms like GitHub Releases, it's essential to provide users with direct download URLs that lead them directly to the intended file. However, despite ensuring that the URL format (https://github.com/username/repo/releases/download/v1.0.0/main.exe) is correct and should provide a direct download link, which I have done but it's showing an error

https://github.com/KrishGaur1354/Snap-Craft/releases/download/v1.0.0/main.exe

Microsoft Partner Center
Microsoft Partner Center
A Microsoft website for partners that provides access to product support, a partner community, and other partner services.
1,019 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.