diff options
author | Marius David Wieschollek <passwords.public@mdns.eu> | 2024-01-22 15:01:54 +0300 |
---|---|---|
committer | Marius David Wieschollek <passwords.public@mdns.eu> | 2024-01-22 15:01:54 +0300 |
commit | 9218e85633755d068a5e240484b62b81c326485a (patch) | |
tree | 679851df94c46b3dbdc043820659bc48b7694013 | |
parent | 278e3db0ed742221caffc63ae0e75f1918f700c3 (diff) |
Fix invalid api urls
Signed-off-by: Marius David Wieschollek <passwords.public@mdns.eu>
-rw-r--r-- | src/Classes/SimpleApi.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Classes/SimpleApi.js b/src/Classes/SimpleApi.js index 4271e12..507a77b 100644 --- a/src/Classes/SimpleApi.js +++ b/src/Classes/SimpleApi.js @@ -837,6 +837,12 @@ export default class SimpleApi { if(path.indexOf('api/api') !== -1) { path = path.replace('api/api', 'api'); } + if(path.indexOf('api/link') !== -1) { + path = path.replace('api/link', 'api'); + } + if(path.indexOf('api/cron') !== -1) { + path = path.replace('api/cron', 'api'); + } return path; } |