fix: update mowojang API base URL#323
Conversation
|
|
@DarthGigi +1 |
Signed-off-by: Gigi <47110839+DarthGigi@users.noreply.github.com>
|
Thanks! |
|
Even though this was merged I just want to point out something interesting that I found I'm going to refer to the two instances of mowojang as matjang and seraphjang. Matjang will refer to https://mowojang.matdoes.dev and seraphjang will refer to https://mowojang.seraph.si matjang seams to be having issues and sometimes returning 500 with the text seraphjang seams to be a proxy of some sorts of matjang as it says in the description of base page (/home - https://mowojang.seraph.si/) My personal suggestion would be to try matjang and if it fails fall back to serahjang |
At backend I'm using official mojang's API as fallback in case this one fails, so I guess we could do that on the frontend as well? |
|
Hello, as the co-owner of the Seraph project. The proxy was a fork of mat's code, we then rewrote it with multiple instances to reduce the error rate his proxy has. As such, he was credited in the official documentation. Our proxy should have no errors, and follows proper conventions unless you hit our original Rust based proxy which is still running his code which uses html errors. |
|
Thanks for your input @Clemintina After talking to mat on discord, I've decided to completely switch from his (and seraph's) mowojang instance to just using the mojang api directly. As he told me that mojang's api added IP ratelimits. Since our calls to mowojang are mostly done on the frontend/client side, that means that every call has the user's IP and not ours or mat's/seraph's mowojang instance(s), essentially fixing the rate limit issue as well as taking off some load on you. |
No worries, feel free to use ours if this solution doesn't work well. It adds virtually no load on our servers. |


Description
https://mowojang.matdoes.dev/ returns HTTP 301 redirect to https://mowojang.seraph.si/
Fixed the 3D skin viewer by updating the texture fetch to the new host.
Type of Change
Testing
Checklist
Code Quality Checks
pnpm lintpasses without errorspnpm formathas been run (or no formatting issues exist)pnpm buildcompletes successfully