Skip to content

Commit

Permalink
Serhii milestone 2 fix (#61)
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
  • Loading branch information
Serhii Ofii authored Oct 20, 2024
1 parent 8c7358f commit 757769e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion apprunner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ run:
command: venv/bin/python3 -m linguaphoto.main # Adjust to the path to your application entry point
env:
- name: HOMEPAGE_URL
value: "linguaphoto.com"
value: "https://linguaphoto.com"
- name: DYNAMODB_TABLE_NAME
value: "linguaphoto"
- name: S3_BUCKET_NAME
Expand Down
4 changes: 1 addition & 3 deletions linguaphoto/socket_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@
sio = socketio.AsyncServer(
async_mode="asgi",
cors_allowed_origins=[
settings.homepage_url,
"https://linguaphoto.com",
"https://www.linguaphoto.com",
settings.homepage_url
], # Update this to match your frontend URL
)

Expand Down

0 comments on commit 757769e

Please sign in to comment.