Add some more checks

This commit is contained in:
Ethan O'Brien
2026-08-05 20:34:17 -05:00
parent 239a47b8ce
commit 75613dafb0
3 changed files with 131 additions and 3 deletions

View File

@@ -35,10 +35,8 @@ pub async fn run_server(in_thread: bool) -> std::io::Result<()> {
println!("Purged {} accounts", ct);
}
// One-time, idempotent: charts stored before the custom-song spawn-group pairing rule are
// regrouped in place and their catalog md5s refreshed, so clients re-download the fixed
// encoding. No-op when custom songs are disabled or nothing needs rewriting.
router::custom_song::migrate::run();
router::custom_song::sweep_audio();
let rv = HttpServer::new(|| App::new()
//.wrap(Cors::permissive())