Merge branch 'main' into extension_install_02

This commit is contained in:
Vlad Stan
2023-01-25 09:50:54 +02:00
committed by GitHub
66 changed files with 2637 additions and 1993 deletions
+9
View File
@@ -46,6 +46,15 @@ async def home(request: Request, lightning: str = ""):
)
@core_html_routes.get("/robots.txt", response_class=HTMLResponse)
async def robots():
data = """
User-agent: *
Disallow: /
"""
return HTMLResponse(content=data, media_type="text/plain")
@core_html_routes.get(
"/extensions", name="core.extensions", response_class=HTMLResponse
)