|
23 | 23 | cli = typer.Typer(add_completion=False, pretty_exceptions_enable=False) |
24 | 24 |
|
25 | 25 |
|
26 | | -SHOW_BUILT_WITH_REFLEX_INFO = "https://reflex.dev/docs/hosting/reflex-branding/" |
27 | | - |
28 | 26 | # Get the config. |
29 | 27 | config = get_config() |
30 | 28 |
|
@@ -193,15 +191,6 @@ def _run( |
193 | 191 | prerequisites.check_latest_package_version(constants.Reflex.MODULE_NAME) |
194 | 192 |
|
195 | 193 | if frontend: |
196 | | - if config.show_built_with_reflex is False: |
197 | | - # The sticky badge may be disabled at runtime for team/enterprise tiers. |
198 | | - prerequisites.check_config_option_in_tier( |
199 | | - option_name="show_built_with_reflex", |
200 | | - allowed_tiers=["team", "enterprise"], |
201 | | - fallback_value=True, |
202 | | - help_link=SHOW_BUILT_WITH_REFLEX_INFO, |
203 | | - ) |
204 | | - |
205 | 194 | # Get the app module. |
206 | 195 | prerequisites.get_compiled_app() |
207 | 196 |
|
@@ -358,15 +347,6 @@ def export( |
358 | 347 | if prerequisites.needs_reinit(frontend=frontend or not backend): |
359 | 348 | _init(name=config.app_name, loglevel=loglevel) |
360 | 349 |
|
361 | | - if frontend and config.show_built_with_reflex is False: |
362 | | - # The sticky badge may be disabled on export for team/enterprise tiers. |
363 | | - prerequisites.check_config_option_in_tier( |
364 | | - option_name="show_built_with_reflex", |
365 | | - allowed_tiers=["team", "enterprise"], |
366 | | - fallback_value=True, |
367 | | - help_link=SHOW_BUILT_WITH_REFLEX_INFO, |
368 | | - ) |
369 | | - |
370 | 350 | export_utils.export( |
371 | 351 | zipping=zipping, |
372 | 352 | frontend=frontend, |
@@ -563,15 +543,6 @@ def deploy( |
563 | 543 |
|
564 | 544 | environment.REFLEX_COMPILE_CONTEXT.set(constants.CompileContext.DEPLOY) |
565 | 545 |
|
566 | | - if not config.show_built_with_reflex: |
567 | | - # The sticky badge may be disabled on deploy for pro/team/enterprise tiers. |
568 | | - prerequisites.check_config_option_in_tier( |
569 | | - option_name="show_built_with_reflex", |
570 | | - allowed_tiers=["pro", "team", "enterprise"], |
571 | | - fallback_value=True, |
572 | | - help_link=SHOW_BUILT_WITH_REFLEX_INFO, |
573 | | - ) |
574 | | - |
575 | 546 | # Set the log level. |
576 | 547 | console.set_log_level(loglevel) |
577 | 548 |
|
|
0 commit comments