Fixed replay import url
This commit is contained in:
parent
ca95c60562
commit
96fc6724c7
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user