Skip to content

Commit

Permalink
Disable Documentation Endpoints (#73)
Browse files Browse the repository at this point in the history
* disabled doc urls

* updated project version to 0.7.1
  • Loading branch information
fullerzz authored Sep 26, 2024
1 parent 0f2ceaf commit 754f471
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "smolvault"
version = "0.7.0"
version = "0.7.1"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.11"
Expand Down
2 changes: 1 addition & 1 deletion src/smolvault/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
)
logger = logging.getLogger(__name__)

app = FastAPI(title="smolvault")
app = FastAPI(title="smolvault", docs_url=None, redoc_url=None)

app.add_middleware(GZipMiddleware, minimum_size=1000)
app.add_middleware(
Expand Down

0 comments on commit 754f471

Please sign in to comment.