Skip to content

Commit

Permalink
fix: port syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
regisb committed Dec 9, 2023
1 parent cb60dba commit ef9390e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion tutorcredentials/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ def _add_learner_record_mfe(apps: dict[str, MFE_ATTRS_TYPE]) -> dict[str, MFE_AT
{
"learner-record": {
"repository": "https://github.com/openedx/frontend-app-learner-record",
"refs": get_github_refs_path("openedx/frontend-app-learner-record"),
"port": 1990,
},
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
FAVICON_URL = "http://{{ LMS_HOST }}:8000/favicon.ico"

CORS_ORIGIN_WHITELIST = list(CORS_ORIGIN_WHITELIST) + [
"http://{{ MFE_HOST }}:{{ get_mfe('learner-record')["port"] }}",
"http://{{ MFE_HOST }}:{{ get_mfe('learner-record')['port'] }}",
]
CSRF_TRUSTED_ORIGINS = ["http://{{ MFE_HOST }}:{{ get_mfe('learner-record')["port"] }}"]
CSRF_TRUSTED_ORIGINS = ["http://{{ MFE_HOST }}:{{ get_mfe('learner-record')['port'] }}"]

LEARNER_RECORD_MFE_RECORDS_PAGE_URL = "http://{{ MFE_HOST }}:{{ get_mfe('learner-record')["port"] }}/learner-record/"
LEARNER_RECORD_MFE_RECORDS_PAGE_URL = "http://{{ MFE_HOST }}:{{ get_mfe('learner-record')['port'] }}/learner-record/"

SOCIAL_AUTH_EDX_OAUTH2_PUBLIC_URL_ROOT = "http://{{ LMS_HOST }}:8000"
SOCIAL_AUTH_EDX_OAUTH2_KEY = "{{ CREDENTIALS_OAUTH2_KEY_SSO_DEV }}"
Expand Down

0 comments on commit ef9390e

Please sign in to comment.