mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-27 17:35:07 +01:00
Delete unused /api/beta API endpoint
This commit is contained in:
parent
bb1c1b39d8
commit
5f97357fe0
2 changed files with 0 additions and 9 deletions
|
@ -182,7 +182,6 @@ def initialize_content(regenerate: bool, search_type: Optional[SearchType] = Non
|
||||||
def configure_routes(app):
|
def configure_routes(app):
|
||||||
# Import APIs here to setup search types before while configuring server
|
# Import APIs here to setup search types before while configuring server
|
||||||
from khoj.routers.api import api
|
from khoj.routers.api import api
|
||||||
from khoj.routers.api_beta import api_beta
|
|
||||||
from khoj.routers.api_config import api_config
|
from khoj.routers.api_config import api_config
|
||||||
from khoj.routers.auth import auth_router
|
from khoj.routers.auth import auth_router
|
||||||
from khoj.routers.indexer import indexer
|
from khoj.routers.indexer import indexer
|
||||||
|
@ -190,7 +189,6 @@ def configure_routes(app):
|
||||||
from khoj.routers.web_client import web_client
|
from khoj.routers.web_client import web_client
|
||||||
|
|
||||||
app.include_router(api, prefix="/api")
|
app.include_router(api, prefix="/api")
|
||||||
app.include_router(api_beta, prefix="/api/beta")
|
|
||||||
app.include_router(api_config, prefix="/api/config")
|
app.include_router(api_config, prefix="/api/config")
|
||||||
app.include_router(indexer, prefix="/api/v1/index")
|
app.include_router(indexer, prefix="/api/v1/index")
|
||||||
if state.billing_enabled:
|
if state.billing_enabled:
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
import logging
|
|
||||||
|
|
||||||
from fastapi import APIRouter
|
|
||||||
|
|
||||||
# Initialize Router
|
|
||||||
api_beta = APIRouter()
|
|
||||||
logger = logging.getLogger(__name__)
|
|
Loading…
Reference in a new issue