Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.mdns.eu/nextcloud/passwords-client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius David Wieschollek <passwords.public@mdns.eu>2024-01-22 15:01:54 +0300
committerMarius David Wieschollek <passwords.public@mdns.eu>2024-01-22 15:01:54 +0300
commit9218e85633755d068a5e240484b62b81c326485a (patch)
tree679851df94c46b3dbdc043820659bc48b7694013
parent278e3db0ed742221caffc63ae0e75f1918f700c3 (diff)
Fix invalid api urls
Signed-off-by: Marius David Wieschollek <passwords.public@mdns.eu>
-rw-r--r--src/Classes/SimpleApi.js6
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;
}