Skip to content

Commit

Permalink
Reorganized Socket IO handlers
Browse files Browse the repository at this point in the history
  • Loading branch information
kirgrim committed Apr 8, 2024
1 parent 1394206 commit efd92ba
Show file tree
Hide file tree
Showing 12 changed files with 991 additions and 730 deletions.
2 changes: 1 addition & 1 deletion chat_server/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def create_app(
:param testing_mode: to run application in testing mode (defaults to False)
:param sio_server: socket io server instance (optional)
"""
app_version = get_version("chat_server/version.py")
app_version = get_version("version.py")
chat_app = FastAPI(title="Klatchat Server API", version=app_version)

_init_middleware(app=chat_app)
Expand Down
2 changes: 1 addition & 1 deletion chat_server/blueprints/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

# Import blueprint here so it will be included
# Import blueprint here to include it to Web App
from . import (
admin as admin_blueprint,
auth as auth_blueprint,
Expand Down
Loading

0 comments on commit efd92ba

Please sign in to comment.