mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-08-14 23:51:41 +00:00
Change pubsub mimetype
This commit is contained in:
parent
347bacdd85
commit
7e5256134b
1 changed files with 2 additions and 1 deletions
|
@ -40,7 +40,8 @@ public class Main {
|
|||
QueryStringDecoder query = new QueryStringDecoder(req.uri());
|
||||
|
||||
try {
|
||||
return writeResponse(res, query.parameters().get("hub.challenge").get(0), APPLICATION_XML, 200, "private", start);
|
||||
return writeResponse(res, query.parameters().get("hub.challenge").get(0), TEXT_PLAIN, 200, "private", start);
|
||||
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
return writeResponse(res, ExceptionUtils.getStackTrace(e), 500, "private", start);
|
||||
|
|
Loading…
Reference in a new issue