Tags: mbta/dotcom
Tags
build(deps): bump actions/upload-pages-artifact from 3 to 4 (#2709) Bumps [actions/upload-pages-artifact](https://github.com/actions/upload-pages-artifact) from 3 to 4. - [Release notes](https://github.com/actions/upload-pages-artifact/releases) - [Commits](actions/upload-pages-artifact@v3...v4) --- updated-dependencies: - dependency-name: actions/upload-pages-artifact dependency-version: '4' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
fix(cms): handle case where _format=json is not the last item The previous documentation indicated that `_format=json` would always be the final item in the query string. This is not always the case, so our replacement strategy needs to handle it appearing anywhere. We do this with a regular expression which can get find the string in any location, and replace it with either an empty string (if it's at the beginning or end) or a single `&` if it's in the middle Test cases are also updated to handle all three positions.
fix(config): ensure CMS_API_BASE_URL is always treated as a string Prevents a crash when looking for whether the value contains something else.
PreviousNext