diff --git a/.gitignore b/.gitignore index 68bc17f..2dc53ca 100644 --- a/.gitignore +++ b/.gitignore @@ -157,4 +157,4 @@ cython_debug/ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore # and can be added to the global gitignore or merged into this file. For a more nuclear # option (not recommended) you can uncomment the following to ignore the entire idea folder. -#.idea/ +.idea/ diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..c4f7e2d --- /dev/null +++ b/requirements.txt @@ -0,0 +1,11 @@ +annotated-types==0.6.0 +anyio==3.7.1 +fastapi==0.104.1 +idna==3.6 +Jinja2==3.1.2 +MarkupSafe==2.1.3 +pydantic==2.5.2 +pydantic_core==2.14.5 +sniffio==1.3.0 +starlette==0.27.0 +typing_extensions==4.9.0 diff --git a/src/paste/main.py b/src/paste/main.py index 0ed75e6..2437515 100644 --- a/src/paste/main.py +++ b/src/paste/main.py @@ -6,7 +6,7 @@ from fastapi import FastAPI from fastapi.templating import Jinja2Templates from fastapi.middleware.cors import CORSMiddleware -from .utils import generate_uuid +from utils import generate_uuid app = FastAPI(title="paste.py 🐍") diff --git a/src/paste/templates/index.html b/src/paste/templates/index.html index cade7ea..3bb2389 100644 --- a/src/paste/templates/index.html +++ b/src/paste/templates/index.html @@ -1,9 +1,15 @@
- - -