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

Strip a trailing slash off of server URLs #1140

Merged
merged 3 commits into from
Jun 16, 2023
Merged

Strip a trailing slash off of server URLs #1140

merged 3 commits into from
Jun 16, 2023

Conversation

j-f1
Copy link
Contributor

@j-f1 j-f1 commented Jun 15, 2023

URLs with the trailing slash don’t work well — requests end up being made to https://example.com//sync/sync and such which can 404

@netlify
Copy link

netlify bot commented Jun 15, 2023

Deploy Preview for actualbudget ready!

Name Link
🔨 Latest commit 1f2ec30
🔍 Latest deploy log https://app.netlify.com/sites/actualbudget/deploys/648c9e2da507920008ec744e
😎 Deploy Preview https://deploy-preview-1140--actualbudget.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Co-authored-by: Matiss Janis Aboltins <[email protected]>
@j-f1 j-f1 merged commit a86fd9c into master Jun 16, 2023
@j-f1 j-f1 deleted the jed/trailing-slash branch June 16, 2023 17:54
@trafico-bot trafico-bot bot added ✨ Merged Pull Request has been merged successfully and removed ✅ Approved labels Jun 16, 2023
TomAFrench added a commit to TomAFrench/actual that referenced this pull request Jun 24, 2023
* master: (54 commits)
  New linter rule import/no-unused-modules & fixing import on typescript (actualbudget#1173)
  React Router 6 fixes (actualbudget#1178)
  Remove remaining tutorial code (actualbudget#1174)
  react-router 6 upgrade (actualbudget#1066)
  Deleting all unused files, deleting unused functions from loot-core (actualbudget#1158)
  Log more details when migrations are out of sync (actualbudget#1161)
  Remove upgrade notifications code (actualbudget#1156)
  🔥  removing needs-triage github label (actualbudget#1157)
  Tidy up exports in loot-core (actualbudget#1147)
  🐛  remove 'we have been notified' copy (actualbudget#1155)
  Updates to the server button at the top right (actualbudget#1141)
  Expand / collapse all categories (actualbudget#1143)
  ✨ (nordigen) release the feature (actualbudget#1135)
  Improve error logging in the API (actualbudget#1121)
  ♻️ (crdt) moved re-used utils in actual-server to separate package (actualbudget#1150)
  Removing Tutorial code (actualbudget#1146)
  Removing unused functions (actualbudget#1145)
  Revert “Make number parsing agnostic to decimal and thousands separators” (actualbudget#1144)
  Strip a trailing slash off of server URLs (actualbudget#1140)
  Update CONTRIBUTING.md to point to the website (actualbudget#1138)
  ...
TomAFrench added a commit to TomAFrench/actual that referenced this pull request Jun 24, 2023
* master: (54 commits)
  New linter rule import/no-unused-modules & fixing import on typescript (actualbudget#1173)
  React Router 6 fixes (actualbudget#1178)
  Remove remaining tutorial code (actualbudget#1174)
  react-router 6 upgrade (actualbudget#1066)
  Deleting all unused files, deleting unused functions from loot-core (actualbudget#1158)
  Log more details when migrations are out of sync (actualbudget#1161)
  Remove upgrade notifications code (actualbudget#1156)
  🔥  removing needs-triage github label (actualbudget#1157)
  Tidy up exports in loot-core (actualbudget#1147)
  🐛  remove 'we have been notified' copy (actualbudget#1155)
  Updates to the server button at the top right (actualbudget#1141)
  Expand / collapse all categories (actualbudget#1143)
  ✨ (nordigen) release the feature (actualbudget#1135)
  Improve error logging in the API (actualbudget#1121)
  ♻️ (crdt) moved re-used utils in actual-server to separate package (actualbudget#1150)
  Removing Tutorial code (actualbudget#1146)
  Removing unused functions (actualbudget#1145)
  Revert “Make number parsing agnostic to decimal and thousands separators” (actualbudget#1144)
  Strip a trailing slash off of server URLs (actualbudget#1140)
  Update CONTRIBUTING.md to point to the website (actualbudget#1138)
  ...
FlorianLang06 pushed a commit to FlorianLang06/actual that referenced this pull request Mar 7, 2024
URLs with the trailing slash don’t work well — requests end up being
made to `https://example.com//sync/sync` and such which can 404

---------

Co-authored-by: Matiss Janis Aboltins <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ Merged Pull Request has been merged successfully
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants