I have a problem with my github page. If I request a file on my page, from Java, I got this response:
<html> <head><title>301 Moved Permanently</title></head> <body bgcolor="white"> <center><h1>301 Moved Permanently</h1></center> <hr><center>nginx</center> </body> </html>
I tried using the connection.setRequestProperty(String); method, but I still get the same response. And I can view the file from browser.
Hereis the specified file where I got the error.
I just use raw HTML and CSS for my tiny website, no Jekyll.
Please let me know that is there any solution to fix this