produce links to shared json replays instead of private

This commit is contained in:
Maximilian Keßler 2024-10-09 17:44:28 +02:00
parent 3744cc20b1
commit 91f583be92

View file

@ -221,4 +221,4 @@ def decompress_game_state(game_str: str) -> hanab_live.HanabLiveGameState:
def link(game_state: hanab_game.GameState) -> str: def link(game_state: hanab_game.GameState) -> str:
compressed = compress_game_state(game_state) compressed = compress_game_state(game_state)
return "https://hanab.live/shared-replay-json/{}".format(compressed) return "https://hanab.live/replay-json/{}".format(compressed)