We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c26757 commit e3be340Copy full SHA for e3be340
src/server/main.py
@@ -10,9 +10,8 @@
10
from slowapi.errors import RateLimitExceeded
11
from starlette.middleware.trustedhost import TrustedHostMiddleware
12
13
-from gitingest.config import TMP_BASE_PATH
14
from server.routers import download, dynamic, index
15
-from server.server_config import DELETE_REPO_AFTER, templates
+from server.server_config import templates
16
from server.server_utils import lifespan, limiter, rate_limit_exception_handler
17
18
# Load environment variables from .env file
src/server/server_config.py
@@ -1,7 +1,5 @@
1
""" Configuration for the server. """
2
3
-from pathlib import Path
4
-
5
from fastapi.templating import Jinja2Templates
6
7
MAX_DISPLAY_SIZE: int = 300_000
0 commit comments