Add community section where public functions can be viewed
This commit is contained in:
2
app.py
2
app.py
@@ -17,6 +17,7 @@ from routes.http import http
|
||||
from routes.llm import llm
|
||||
from routes.auth import auth
|
||||
from routes.settings import settings
|
||||
from routes.community import community
|
||||
from constants import DEFAULT_FUNCTION_NAME, DEFAULT_SCRIPT, DEFAULT_ENVIRONMENT
|
||||
from flask_apscheduler import APScheduler
|
||||
import asyncio
|
||||
@@ -45,6 +46,7 @@ app.register_blueprint(http, url_prefix='/http')
|
||||
app.register_blueprint(llm, url_prefix='/llm')
|
||||
app.register_blueprint(auth, url_prefix='/auth')
|
||||
app.register_blueprint(settings, url_prefix='/settings')
|
||||
app.register_blueprint(community, url_prefix='/community')
|
||||
|
||||
# Swith to inter app routing, which results in speed up from ~400ms to ~270ms
|
||||
# https://stackoverflow.com/questions/76886643/linking-two-not-exposed-dokku-apps
|
||||
|
||||
Reference in New Issue
Block a user