1
0
Fork 0
mirror of https://github.com/benbusby/farside.git synced 2025-06-08 10:26:36 +00:00

Strip trailing slashes on instance URLs

This commit is contained in:
Ben Busby 2021-11-24 16:33:59 -07:00
parent ea186a93d2
commit 55cd6aebc6
No known key found for this signature in database
GPG key ID: 339B7B7EB5333D14
2 changed files with 91 additions and 88 deletions

View file

@ -15,6 +15,9 @@ jobs:
function apply_update() {
mv services-tmp.json services.json
rm -f *-tmp.json
# Ensure no trailing slashes for any instance
sed -i '' 's/\/"/"/g' services.json
}
# ==============================================================