-
-
Notifications
You must be signed in to change notification settings - Fork 229
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
Download URL #460
Comments
In that case, I'd prefer to leave it as is since that version will quickly become lost to the sands of time. Can this issue be closed then? |
@ThiagoSolfo you posted on the wrong issue. Yours is a duplicate of #458 and has already been fixed. Re-pull the image. |
@itzg thanks, it worked |
@itzg I made a fix for this, but maybe we don't need it anymore? Do you want me to submit a PR on this? |
Old behavior: Custom versions used hardcoded download URL. this URL should be dynamically sourced using the lookupVersion command instead. New behavior: lookupVersion takes a second parameter, version, and uses a simple sed replace to insert the version parameter into the download URL dynamically, if it was successfully found. Also, removed old bedrock version shortcuts. This can be restored and modified to use the lookupVersion command to get the right URL if needed. It's unclear whether there's any active servers still running on legacy versions of bedrock (to this author). Resolves itzg#460
The download URL for the server zip have changed from
https://minecraft.azureedge.net/bin-linux/bedrock-server-{VERSION}.zip
tohttps://www.minecraft.net/bedrockdedicatedserver/bin-linux/bedrock-server-{VERSION}.zip
This all works fine when specifying
LATEST
orPREVIEW
as the VERSION as it will lookup the correct URL. However when setting a specific version the URL is hardcoded to the old one.Would it not make sense it let it use the same lookup code or perhaps even allowing setting an environment variable DOWNLOAD_URL that will take precedence if set to allow workarounds for potential future changes?
EDIT: It seems like the old link is now(?) working for all(?) versions except 1.21.31.04.
Thanks!
The text was updated successfully, but these errors were encountered: