Skip to content

Commit

Permalink
revert graphql_router since it's still using in getVersion
Browse files Browse the repository at this point in the history
Signed-off-by: Huong Nguyen <[email protected]>
  • Loading branch information
Huong Nguyen committed Dec 9, 2024
1 parent a4e1d0e commit 6623712
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions package/kedro_viz/api/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
from kedro_viz.api.rest.responses.utils import EnhancedORJSONResponse
from kedro_viz.integrations.kedro import telemetry as kedro_telemetry

from .graphql.router import router as graphql_router
from .rest.router import router as rest_router

_HTML_DIR = Path(__file__).parent.parent.absolute() / "html"
Expand Down Expand Up @@ -62,6 +63,7 @@ def create_api_app_from_project(
"""
app = _create_base_api_app()
app.include_router(rest_router)
app.include_router(graphql_router)

# Check for html directory existence.
if Path(_HTML_DIR).is_dir():
Expand Down

0 comments on commit 6623712

Please sign in to comment.