Added alias for Musewave's legacy-version.txt.

This commit is contained in:
flash 2024-01-02 20:57:19 +00:00
parent a40555b562
commit b4aa11f633

View file

@ -84,4 +84,10 @@ class DeveloperRoutes extends RouteHandler {
'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');
}
}