diff options
author | Vitaly Takmazov | 2024-10-10 23:39:02 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2024-10-10 23:39:02 +0300 |
commit | ce1361920f1b6574e9328f47a016bf29f40ae9d6 (patch) | |
tree | aa4283962385b5e6730e05a12588e15c725389e6 /src/main/java/com/juick/www | |
parent | 641c5b59ead5a741ae4b6c785f861619ba0aa340 (diff) |
`/api/v2/instance` is not served on legacy server anymore
Diffstat (limited to 'src/main/java/com/juick/www')
-rw-r--r-- | src/main/java/com/juick/www/api/Mastodon.java | 2 |
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"); } |