diff --git a/src/commands/publish/mod.rs b/src/commands/publish/mod.rs index 3db757222..95d035abd 100644 --- a/src/commands/publish/mod.rs +++ b/src/commands/publish/mod.rs @@ -38,7 +38,7 @@ pub fn publish( if let Some(site_config) = target.site.clone() { if let Some(route) = &target.route { if !route.ends_with("*") { - failure::bail!("The route in your wrangler.toml should have a trailing * to apply the Worker on every path, otherwise your site will not behave as expected.\nroute = {}*", route) + message::warn(&format!("The route in your wrangler.toml should have a trailing * to apply the Worker on every path, otherwise your site will not behave as expected.\nroute = {}*", route)); } } bind_static_site_contents(user, target, &site_config, false)?;