From 4fc8262fc4d82b028074701056f52f56712e1403 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Thu, 7 Dec 2017 21:43:12 +0100 Subject: [PATCH] Add detection of github pages (#1866) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add detection of github pages This can be tested [here](http://www.sxcurity.pro/2017/11/27/tricky-CORS/). * s/svg/png/ * Take @q-- comments into account ♥ --- src/apps.json | 14 ++++++++++++++ src/icons/GitHub.svg | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 src/icons/GitHub.svg diff --git a/src/apps.json b/src/apps.json index 5d05a8bfb..39e0a2b03 100644 --- a/src/apps.json +++ b/src/apps.json @@ -3045,6 +3045,20 @@ }, "website": "http://gitbook.io" }, + "GitHub Pages": { + "cats": [ + "11", + "31" + ], + "url": "^https?://[^/]+\\.github\\.io/", + "headers": { + "Server": "^GitHub\\.com$", + "X-GitHub-Request-Id": "" + }, + "icon": "GitHub.svg", + "implies": "Ruby on Rails", + "website": "https://pages.github.com/" + }, "GitLab": { "cats": [ "13", diff --git a/src/icons/GitHub.svg b/src/icons/GitHub.svg new file mode 100644 index 000000000..ba82ee92a --- /dev/null +++ b/src/icons/GitHub.svg @@ -0,0 +1,35 @@ + + + + + + + image/svg+xml + + + + + + + + +