Skip to content
Snippets Groups Projects
Commit ecdcd3ab authored by Cédric Moreau's avatar Cédric Moreau
Browse files

[fix] Logs' link generation was broken (hastebin is now https)

parent e7cbcbd7
No related branches found
No related tags found
No related merge requests found
......@@ -512,8 +512,8 @@ function WebAdmin (duniterServer) {
yield pluggedDALP;
const logs = yield server.getLastLogLines(req.params.quantity || 1500);
const body = yield rp.post({
url: 'http://hastebin.com/documents',
body: logs
url: 'https://hastebin.com/documents',
body: typeof logs == 'object' ? logs.join('') : logs
});
const res = JSON.parse(body);
return {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment