This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!#/bin/sh | |
version = 13580 | |
wget --show-progress https://ta-downloads.totem-arts.workers.dev/RenX-${version}.zip -o renx-server.zip | |
unzip renx-server.zip -d ${PWD}/server | |
echo "Starting server" | |
docker run -d \ | |
--port 27000:27000 \ | |
--volume="${PWD}/sever:/server" \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"keys":[{"alg":"RS256","e":"65537","kid":"4a2fc4a1-be14-497a-92aa-b95dcc1ee61e","kty":"RSA","n":"29444957469887986789142039014944867356751566392552466863338857290288237837430372963304924664590220431420109042683995893644301280635509884416194197058819800616289257038289103137844996015220388986422262018587245714919984021462482023343774894693525443689283843792613419133831283370297736992321346975233911532203501799895136655138966025257688465104892147282009138136193220710435131556059302868794608545157858557014717940502068229273145500563593331832665616385552896623562700509840359882937933289009535416427587340422243432153096732975123187391689261644694502579538582194097940463882539481861367183011459706341827943788733","use":"sig"}]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"encoding/json" | |
"fmt" | |
"io/ioutil" | |
"net/http" | |
) | |
// This is our type which matches the JSON object. |