mirror of
https://github.com/TeamPiped/Piped-Backend
synced 2025-09-05 21:11:05 +02:00
Make the api url redirect to the instance's frontend.
This commit is contained in:
parent
66a9f27746
commit
4283c3fee0
@ -345,7 +345,7 @@ public class ServerLauncher extends MultithreadedHttpServerLauncher {
|
||||
} catch (Exception e) {
|
||||
return getErrorResponse(e, request.getPath());
|
||||
}
|
||||
}));
|
||||
})).map(GET, "/", AsyncServlet.ofBlocking(executor, request -> HttpResponse.redirect302(Constants.FRONTEND_URL)));
|
||||
|
||||
return new CustomServletDecorator(router);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user