mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-22 20:48:59 +00:00
(assistant) Migrate to Jooby framework
This commit is contained in:
parent
9d302e2973
commit
44d6bc71b7
@ -50,7 +50,7 @@ public class AssistantService extends JoobyService {
|
|||||||
public void startJooby(Jooby jooby) {
|
public void startJooby(Jooby jooby) {
|
||||||
super.startJooby(jooby);
|
super.startJooby(jooby);
|
||||||
|
|
||||||
jooby.get("/suggest", this::getSuggestions);
|
jooby.get("/suggest/", this::getSuggestions);
|
||||||
jooby.get("/screenshot/{id}", screenshotService::serveScreenshotRequest);
|
jooby.get("/screenshot/{id}", screenshotService::serveScreenshotRequest);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user