Le mirroring des dépôts vers Github est maintenant natif dans Gitlab (et donc Framagit). Merci de passer à la fonction native pour que nous puissions couper notre solution maison. Détails sur https://docs.gitlab.com/ee/workflow/repository_mirroring.html#pushing-to-a-remote-repository (pensez à supprimer le webhook de notre solution maison).

Commit 5a34e089 by yPhil

Merge branch 'mastodon'

parents 9c49420a cb59b8b3
Pipeline #53839 passed with stage
in 36 seconds
......@@ -3,7 +3,7 @@
"name" : "petrolette",
"script" : "./bin/www",
"watch" : true,
"ignore_watch" : ["#*", "favicons-cache", ".git/"],
"ignore_watch" : ["#*", "favicons-cache", ".git", "node_modules"],
"log_date_format" : "YYYY-MM-DD HH:mm",
"env" : {
"PORT" : 8666,
......
......@@ -40,9 +40,8 @@ function getFeed (urlfeed, callback) {
var options = {
url: urlfeed,
headers: {
// 'User-Agent': 'Mozilla/5.0',
'user-agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36',
'Accept': 'text/html,application/xhtml+xml'
'User-Agent': 'Mozilla/5.0',
'Accept': 'application/rss+xml, application/rdf+xml;q=0.8, application/atom+xml;q=0.6, application/xml;q=0.4, text/xml;q=0.4'
}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment