Разработан веб-сервер и расширение для браузеров на базе Chromium

This commit is contained in:
2024-07-26 00:33:19 +03:00
commit beb1559cd4
14 changed files with 490 additions and 0 deletions

17
server/main.py Normal file
View File

@ -0,0 +1,17 @@
import shutil
import uvicorn
from api import app
import config
if __name__ == '__main__':
try:
uvicorn.run(
app=app,
host=config.Main.host,
port=config.Main.port,
)
except InterruptedError:
shutil.rmtree(config.Main.images_directory)