Southclaws / ScavengeSurvive

A PvP SA:MP survival gamemode. The aim of the game is to find supplies such as tools or weapons to help you survive, either alone or in a group.
https://scavengesurvive.com
Mozilla Public License 2.0
107 stars 55 forks source link

feat(docs/servers): dynamic server listing #642

Closed VIRUXE closed 4 months ago

VIRUXE commented 4 months ago

The idea behind this is to have "static" scavengesurvive.com servers stored in a .js file, pull more servers from open.mp and then compile them together into a table.

The servers would be queried using my query service, in order to update the info of the static servers and get links for the open.mp ones.

I don't do a lot of js/react stuff so I'm not entirely sure about this, because the query part isn't working in my dev environment (maybe cors?), but I confirmed my service is in fact working.

Could you review it, please?

vercel[bot] commented 4 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
scavenge-survive ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 15, 2024 3:50pm
VIRUXE commented 4 months ago

Managed to add Access-Control-Allow-Origin to my nginx server block and queries now work. Just need to fix the links.