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

change cn version url #72

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

change cn version url #72

wants to merge 3 commits into from

Conversation

DawnMagnet
Copy link

when visiting http://cn.patch.battle.net:1119/hsb/versions it shows moved permanently

curl http://cn.patch.battle.net:1119/hsb/versions
HTTP/1.1 301 Moved Permanently
Server: nginx/1.18.0 (Ubuntu)
Date: Fri, 11 Oct 2024 00:14:41 GMT
Content-Type: text/html
Content-Length: 178
Connection: keep-alive
Location: https://cn.version.battlenet.com.cn/hsb/versions

<html>
<head><title>301 Moved Permanently</title></head>
<body>
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx/1.18.0 (Ubuntu)</center>
</body>
</html>

so i changed the url for cn

@0xf4b1
Copy link
Owner

0xf4b1 commented Oct 19, 2024

Hey, I think we can simplify this and make this more error prone for future changes by enabling redirects in curl. curl -L http://cn.patch.battle.net:1119/hsb/versions should do the trick, right?

@cireu
Copy link

cireu commented Nov 1, 2024

http://cn.patch.battle.net:1119/hsb/versions now available again 🤔

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.

3 participants