mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-05 09:48:44 +00:00
unblock route
This commit is contained in:
1 parent
23293e973f
commit
d54cd75dec
1 file changed
+1
-5
@@ -175,12 +175,8 @@ pub fn add_routes<T, B> (app: App<T>, server_environment: ServerEnvironment) ->
|
||||
app = add_trending_routes(app); /* /v1/trending/... */
|
||||
app = add_user_rating_routes(app); /* /v1/user_rating/... */
|
||||
app = add_subscription_routes(app); /* /v1/subscriptions/... */
|
||||
app = add_voice_designer_routes(app); /* /v1/voice_designer */
|
||||
|
||||
// TODO find a long term feature flag solution, since this code is likely deployed into production we don't want the route found.
|
||||
if !server_environment.is_deployed_in_production() {
|
||||
warn!("Adding voice designer routes (development only)");
|
||||
app = add_voice_designer_routes(app); /* /v1/voice_designer */
|
||||
}
|
||||
// ==================== Comments ====================
|
||||
|
||||
let mut app = RouteBuilder::from_app(app)
|
||||
|
||||
Reference in new issue
Block a user