diff --git a/tts_service/bonus_voices.toml b/tts_service/bonus_voices.toml index 1c9878d695..212147e21b 100644 --- a/tts_service/bonus_voices.toml +++ b/tts_service/bonus_voices.toml @@ -32,7 +32,7 @@ voices = [ # Patreon Gets Everything [[bonus_endpoints]] -http_endpoint = "patreon_thanks" +http_endpoint = "patreon-thanks" voices = [ "hank-hill", "knuckles", diff --git a/tts_service/src/main.rs b/tts_service/src/main.rs index 29933f75fe..94551dd413 100644 --- a/tts_service/src/main.rs +++ b/tts_service/src/main.rs @@ -410,15 +410,8 @@ async fn run_server(app_state: AppState, server_args: ServerArgs) -> std::io::Re .service(Files::new("/adminui", admin_asset_directory.clone()) .index_file("index.html")) // Early access static path for assets - .service(Files::new("/early_access", patreon_asset_directory.clone()) - .index_file("FAKE_INDEX.HTML")) .service(Files::new("/static", static_asset_directory.clone()) .index_file("FAKE_INDEX.HTML")) - // Twitch and patreon - .service(Files::new("/patreon-thanks", patreon_asset_directory.clone()) - .index_file("index.html")) - .service(Files::new(&early_access_url, twitch_asset_directory.clone()) - .index_file("index.html")) .service( web::resource("/advanced_tts") .route(web::post().to(post_tts)) @@ -446,7 +439,6 @@ async fn run_server(app_state: AppState, server_args: ServerArgs) -> std::io::Re .service(get_dynamic_early_access_speakers) .service(get_words); - println!("{:?}", &twitch_asset_directory); for key in bonus_urls.iter() { let url = format!("/{}", key); app = app.service(Files::new(&url, twitch_asset_directory.clone())