mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-23 13:09:00 +00:00
(api) Update the / API redirect to the new documentation stub.
This commit is contained in:
parent
8dde502cc9
commit
45e771f96b
@ -69,7 +69,7 @@ public class ApiService extends SparkService {
|
|||||||
this.searchOperator = searchOperator;
|
this.searchOperator = searchOperator;
|
||||||
|
|
||||||
Spark.get("/api/", (rq, rsp) -> {
|
Spark.get("/api/", (rq, rsp) -> {
|
||||||
rsp.redirect("https://memex.marginalia.nu/projects/edge/api.gmi");
|
rsp.redirect("https://about.marginalia-search.com/article/api/");
|
||||||
return "";
|
return "";
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user