Updated run_server.sh

Added server/__pycache__/server.cpython-310.pyc
Updated server/server.py
This commit is contained in:
mirai 2022-12-01 10:25:41 +03:00
parent 1191d22fd2
commit 2b2b0ec8d7
3 changed files with 3 additions and 3 deletions

View File

@ -4,10 +4,10 @@ port=$1
if [ -d venv ]; then
source venv/bin/activate
sanic server/server.app -H 0.0.0.0 -p $port
sanic server.server.app -H 0.0.0.0 -p $port
else
python3.10 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
sanic server.app -H 0.0.0.0 -p $port
sanic server.server.app -H 0.0.0.0 -p $port
fi

Binary file not shown.

View File

@ -1,5 +1,5 @@
from sanic import Sanic, Request, response
from sanic.response import HTTPResponse
from sanic import Sanic, Request, response
from cryptography.fernet import Fernet
import rsa