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:
parent
ea186a93d2
commit
55cd6aebc6
2 changed files with 91 additions and 88 deletions
3
.github/workflows/update-instances.yml
vendored
3
.github/workflows/update-instances.yml
vendored
|
@ -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
|
||||
}
|
||||
|
||||
# ==============================================================
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue