diff --git a/changelog.d/892.fixed b/changelog.d/892.fixed new file mode 100644 index 000000000..dae18a756 --- /dev/null +++ b/changelog.d/892.fixed @@ -0,0 +1 @@ +Explain where the destinations come from diff --git a/frontend/.env.development b/frontend/.env.development index d78848880..67264e5e7 100644 --- a/frontend/.env.development +++ b/frontend/.env.development @@ -6,3 +6,4 @@ VITE_API_URL=http://fmn.tinystage.test:8000 VITE_OIDC_PROVIDER_URL=https://auth.tinystage.test/idp VITE_OIDC_CLIENT_ID=fmn-frontend VITE_OLD_FMN=https://apps.fedoraproject.org/notifications-old +VITE_FAS=https://auth.tinystage.test/noggin diff --git a/frontend/.env.production b/frontend/.env.production index 4030fb8e2..d1f475db8 100644 --- a/frontend/.env.production +++ b/frontend/.env.production @@ -7,3 +7,4 @@ VITE_API_URL=https://fmn-api.apps.ocp.fedoraproject.org VITE_OIDC_PROVIDER_URL=https://id.fedoraproject.org VITE_OIDC_CLIENT_ID=fmn-frontend VITE_OLD_FMN=https://apps.fedoraproject.org/notifications-old +VITE_FAS=https://accounts.fedoraproject.org diff --git a/frontend/.env.staging b/frontend/.env.staging index d83f3b8ee..d75345c58 100644 --- a/frontend/.env.staging +++ b/frontend/.env.staging @@ -6,3 +6,4 @@ VITE_API_URL=https://fmn-api.apps.ocp.stg.fedoraproject.org VITE_OIDC_PROVIDER_URL=https://id.stg.fedoraproject.org VITE_OIDC_CLIENT_ID=fmn-frontend VITE_OLD_FMN=https://apps.stg.fedoraproject.org/notifications-old +VITE_FAS=https://accounts.stg.fedoraproject.org diff --git a/frontend/.env.test b/frontend/.env.test index 30326877e..64dc2f328 100644 --- a/frontend/.env.test +++ b/frontend/.env.test @@ -5,3 +5,4 @@ VITE_API_URL=https://api.test VITE_OIDC_PROVIDER_URL=https://ipsilon.test/idp/openidc VITE_OIDC_CLIENT_ID=testing +VITE_FAS=https://noggin.test diff --git a/frontend/src/components/rule-edit/generation-rule/DestinationList.vue b/frontend/src/components/rule-edit/generation-rule/DestinationList.vue index 2f3734ff6..e69770c2c 100644 --- a/frontend/src/components/rule-edit/generation-rule/DestinationList.vue +++ b/frontend/src/components/rule-edit/generation-rule/DestinationList.vue @@ -47,6 +47,9 @@ const getDestinations = async () => { }); return result; }; +const FAS_URL = `${import.meta.env.VITE_FAS}/user/${ + userStore.username +}/settings/profile/`;