Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove vestigial check for baseUrl property #2638

Merged
merged 3 commits into from
Sep 26, 2023
Merged

Remove vestigial check for baseUrl property #2638

merged 3 commits into from
Sep 26, 2023

Conversation

imnasnainaec
Copy link
Collaborator

@imnasnainaec imnasnainaec commented Sep 26, 2023

This change is Reviewable

@imnasnainaec imnasnainaec added frontend maintenance Issue that makes it difficult to maintain the software or to upgrade installations post-release. labels Sep 26, 2023
@imnasnainaec imnasnainaec self-assigned this Sep 26, 2023
@codecov-commenter
Copy link

codecov-commenter commented Sep 26, 2023

Codecov Report

All modified lines are covered by tests ✅

see 202 files with indirect coverage changes

📢 Thoughts on this report? Let us know!.

Copy link
Collaborator

@jmgrady jmgrady left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 1 of 1 files at r1, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @imnasnainaec)


src/types/runtimeConfig.ts line 51 at r1 (raw file):

    return defaultConfig.baseUrl;
  }

Should also to remove the reference in nginx/init/25-combine-runtime-config.sh:

env_map=(
  ["CONFIG_BASE_URL"]="baseUrl"
  ["CONFIG_USE_CONNECTION_URL"]="useConnectionBaseUrlForApi"
  ["CONFIG_CAPTCHA_REQD"]="captchaRequired"
  ["CONFIG_CAPTCHA_SITE_KEY"]="captchaSiteKey"
  ["CONFIG_ANALYTICS_WRITE_KEY"]="analyticsWriteKey"
  ["CONFIG_OFFLINE"]="offline"
  ["CONFIG_EMAIL_ENABLED"]="emailServicesEnabled"
  ["CONFIG_SHOW_CERT_EXPIRATION"]="showCertExpiration"
)

(Sorry I did not think of this yesterday when we discussed this change.)

Copy link
Collaborator Author

@imnasnainaec imnasnainaec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: 1 of 2 files reviewed, 1 unresolved discussion (waiting on @imnasnainaec and @jmgrady)


src/types/runtimeConfig.ts line 51 at r1 (raw file):

Previously, jmgrady (Jim Grady) wrote…

Should also to remove the reference in nginx/init/25-combine-runtime-config.sh:

env_map=(
  ["CONFIG_BASE_URL"]="baseUrl"
  ["CONFIG_USE_CONNECTION_URL"]="useConnectionBaseUrlForApi"
  ["CONFIG_CAPTCHA_REQD"]="captchaRequired"
  ["CONFIG_CAPTCHA_SITE_KEY"]="captchaSiteKey"
  ["CONFIG_ANALYTICS_WRITE_KEY"]="analyticsWriteKey"
  ["CONFIG_OFFLINE"]="offline"
  ["CONFIG_EMAIL_ENABLED"]="emailServicesEnabled"
  ["CONFIG_SHOW_CERT_EXPIRATION"]="showCertExpiration"
)

(Sorry I did not think of this yesterday when we discussed this change.)

Done.

@imnasnainaec imnasnainaec enabled auto-merge (squash) September 26, 2023 16:09
Copy link
Collaborator

@jmgrady jmgrady left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 1 of 1 files at r2, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @imnasnainaec)

@imnasnainaec imnasnainaec merged commit d628f95 into master Sep 26, 2023
16 checks passed
@imnasnainaec imnasnainaec deleted the base-url branch September 26, 2023 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend maintenance Issue that makes it difficult to maintain the software or to upgrade installations post-release.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants