Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
berrysauce committed Oct 11, 2024
2 parents db2770b + 7463378 commit ca58945
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 31 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/deta.yml

This file was deleted.

11 changes: 0 additions & 11 deletions Spacefile

This file was deleted.

6 changes: 2 additions & 4 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@

app = FastAPI(
title="Ingredients – API",
#license_info="https://github.com/berrysauce/ingredients/blob/main/LICENSE.md",
#docs_url=None,
license_info="https://github.com/berrysauce/ingredients/blob/main/LICENSE.md",
docs_url=None,
redoc_url=None
)

Expand All @@ -39,11 +39,9 @@ def get_root():
return HTMLResponse(content=f.read())


"""
@app.get("/docs")
def get_docs():
return RedirectResponse(url="https://github.com/berrysauce/ingredients/blob/main/README.md#-using-the-api", status_code=301)
"""


@app.get("/ingredients", response_class=JSONResponse)
Expand Down

0 comments on commit ca58945

Please sign in to comment.