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.
Here is 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
Thank you for being here! We are happy you are here! Would you mind sharing a few more details might help someone give you a nudge in the right directions, a link to your repo would help?
Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!