revert server/main.py to how it was before terrible things happened