Skip to content

Commit

Permalink
Serhii milestone 2 fix (#62)
Browse files Browse the repository at this point in the history
* chores_lint_errors_and_path_issues

* feature_db_py

* fix_audio_issue

* chores_lint_error

* fix_openAPI_switching

* chore_module_insert

* fix_edit_collection_fix

* fix_frontend_critical_update

* fix_feedback2_translation_async

* chore:lint

* chore:loading_issue

* chore:module

* chore:version-python-socketio[asgi]

* chore:main.py

* chore:path

* test

* chore:apprunner

* chore:reverse

* fix:cors_error

* chore:cors

* chore:cors
  • Loading branch information
Serhii Ofii authored Oct 20, 2024
1 parent 757769e commit db30b33
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import LoginPage from "pages/Login";
import NotFound from "pages/NotFound";
import SubscriptionTypePage from "pages/SubscriptioinType";
import SubscriptionCancelPage from "pages/Subscription";
import PrivateRoute from "ProtectedRoute";
import PrivateRoute from "PrivateRoute";
import { BrowserRouter as Router, Route, Routes } from "react-router-dom";
import "./App.css";

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion linguaphoto/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
)

app.include_router(router, prefix="")
app = socketio.ASGIApp(sio, app)

app.mount("/", socketio.ASGIApp(sio, other_asgi_app=app))
if __name__ == "__main__":
print("Starting webserver...")
uvicorn.run(app, port=8080, host="0.0.0.0")
1 change: 0 additions & 1 deletion linguaphoto/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,3 @@ openai
requests
stripe
python-socketio

1 change: 0 additions & 1 deletion linguaphoto/socket_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
settings.homepage_url
], # Update this to match your frontend URL
)

# Dictionary to store connected users by their socket ID
connected_users: dict[str, str] = {}

Expand Down

0 comments on commit db30b33

Please sign in to comment.