Added alias for Musewave's legacy-version.txt.
This commit is contained in:
parent
a40555b562
commit
b4aa11f633
1 changed files with 6 additions and 0 deletions
|
@ -84,4 +84,10 @@ class DeveloperRoutes extends RouteHandler {
|
||||||
'header_offset' => (int)$request->getParam('offset', FILTER_SANITIZE_NUMBER_INT),
|
'header_offset' => (int)$request->getParam('offset', FILTER_SANITIZE_NUMBER_INT),
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// this should probably get a more appropriate location somehow
|
||||||
|
#[Route('GET', '/musewave/legacy-version.txt')]
|
||||||
|
public function getMusewaveLegacyVersion(): string {
|
||||||
|
return file_get_contents('https://musewave.flash.moe/legacy-version.txt');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue