aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/www/api
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2024-10-10 23:39:02 +0300
committerGravatar Vitaly Takmazov2024-10-10 23:39:02 +0300
commitce1361920f1b6574e9328f47a016bf29f40ae9d6 (patch)
treeaa4283962385b5e6730e05a12588e15c725389e6 /src/main/java/com/juick/www/api
parent641c5b59ead5a741ae4b6c785f861619ba0aa340 (diff)
`/api/v2/instance` is not served on legacy server anymore
Diffstat (limited to 'src/main/java/com/juick/www/api')
-rw-r--r--src/main/java/com/juick/www/api/Mastodon.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/www/api/Mastodon.java b/src/main/java/com/juick/www/api/Mastodon.java
index 220963c1..ca3687e7 100644
--- a/src/main/java/com/juick/www/api/Mastodon.java
+++ b/src/main/java/com/juick/www/api/Mastodon.java
@@ -164,7 +164,7 @@ public class Mastodon {
) {
}
- @GetMapping({"/api/v1/instance", "/api/v2/instance"})
+ @GetMapping("/api/v1/instance")
public Instance getInstance() {
return new Instance(domain, "Microblogging service", "Juick", "2.x","support@juick.com");
}