From 96fc6724c7978033efde87f48be14729eb4fca47 Mon Sep 17 00:00:00 2001 From: "nise.moe" Date: Sun, 3 Mar 2024 16:22:40 +0100 Subject: [PATCH] Fixed replay import url --- nise-replay-viewer/src/interface/App.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nise-replay-viewer/src/interface/App.tsx b/nise-replay-viewer/src/interface/App.tsx index 449d6d8..6e238cf 100644 --- a/nise-replay-viewer/src/interface/App.tsx +++ b/nise-replay-viewer/src/interface/App.tsx @@ -14,10 +14,8 @@ export function App() { let pathReplayId = location.pathname.slice(1, location.pathname.length); const loadReplay = async () => { - // TODO: Check for security? - await OsuRenderer.loadReplayFromUrl(`http://localhost:8080/score/${pathReplayId}/replay`); + await OsuRenderer.loadReplayFromUrl(`https://nise.moe/api/score/${pathReplayId}/replay`); OsuRenderer.setPlaying(true); - // await OsuRenderer.loadReplayFromUrl(`https://nise.moe/api/score/${pathReplayId}/replay`); }; if(replayId !== pathReplayId) {