Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

fix: add chdir to govukaccount-redirect to pickup correct cache dir #96

Merged
merged 1 commit into from
Mar 12, 2024

Conversation

JoshuaLicense
Copy link
Contributor

@JoshuaLicense JoshuaLicense commented Mar 12, 2024

Description

Cache directory is relative. This works as public/index.php switches the current working directory on each request. govukaccount-redirect doesn't go through the public/index.php. This PR adds the same chdir instruction to this entrypoint.

Related issue: Regression from https://dvsa.atlassian.net/browse/VOL-4492.

Before submitting (or marking as "ready for review")

  • Does the pull request title follow the conventional commit specification?
  • Have you performed a self-review of the code
  • Have you have added tests that prove the fix or feature is effective and working
  • Did you make sure to update any documentation relating to this change?

@JoshuaLicense JoshuaLicense self-assigned this Mar 12, 2024
@JoshuaLicense JoshuaLicense merged commit f1924a7 into main Mar 12, 2024
3 of 6 checks passed
@JoshuaLicense JoshuaLicense deleted the fix-govuk-redirect branch March 12, 2024 12:21
jerotire pushed a commit to dvsa/vol-app that referenced this pull request Aug 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants