From patchwork Wed Oct 9 15:23:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angelo Compagnucci X-Patchwork-Id: 1173832 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="HzNcoBtq"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46pJ601SPtz9sQy for ; Thu, 10 Oct 2019 02:28:53 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 2E9DC87909; Wed, 9 Oct 2019 15:28:50 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JBWO0KaW40Ps; Wed, 9 Oct 2019 15:28:48 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 46BDE878B5; Wed, 9 Oct 2019 15:28:48 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 8E9621BF371 for ; Wed, 9 Oct 2019 15:28:46 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 73AAB869DE for ; Wed, 9 Oct 2019 15:28:46 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ux8EFcWbajVF for ; Wed, 9 Oct 2019 15:28:45 +0000 (UTC) X-Greylist: delayed 00:05:32 by SQLgrey-1.7.6 Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 3512D869DD for ; Wed, 9 Oct 2019 15:28:44 +0000 (UTC) Received: by mail-wr1-f65.google.com with SMTP id w12so3551319wro.5 for ; Wed, 09 Oct 2019 08:28:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id; bh=Pkg0gOvYiHsJW3ioeRsTvlnOHSqbX9xAMvleym10NJg=; b=HzNcoBtq8x3rWM/DMJ8xYo3dvSr0B8X06G4LDJBjathTdTitPCGjT4q0OLtTZuzKzZ AJi9d0zscNiRrixW1IxHJ3ybXX3kObfiaJNIXsFj4H9AqTy4L2FkcR9FwFzoEMMFUQA/ WQFZJ5zfaGWgdWMLtFc4uH4lpAImU4I9nppjc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Pkg0gOvYiHsJW3ioeRsTvlnOHSqbX9xAMvleym10NJg=; b=XDyxWozFFBhoLosP1vGaD24a/1MwLzHA/l5moJHT1pA4Bs2Uod4/Up8c/pH9gHLL7M 4pKPIfSh/wqocs4anv0siS5UAVfnsUD7rMOkf2T51C8AdK7Kx+spjKvp62IfiZRG7k8I +eBG2+mLe07uMTtUOhcUjk5AKD5ESB9FF14MlHQjM8xybyloswL6kWvwlT/mHdKa1eeQ drawIdEsy4+1pP+qqWkNT4SJOB2M+Q2wnerNmP4BMkniN+IBHN3jobkc899cjqgl5Swz GeKoLOxcS5hJoB4XpOEJmWQZN6Kga2Vzj5cvbnKiJbdCihZDWV38FeioGmWaUeqWPeHW olgA== X-Gm-Message-State: APjAAAUf01SXM8IJpRRzjE9ahXaQY0NxFbS1HRoYYBjHOL++psvzaqmt tolhpc9YGcaXGg192DjqzvPbPKzu21k= X-Google-Smtp-Source: APXvYqw+HKbJHEgctcFBsLK43wCyRxpVbkgUlvhQy8oAmwkanfrvpQzF3MJRjnxSqCVnDZv3vtUetg== X-Received: by 2002:adf:fcc5:: with SMTP id f5mr3328912wrs.37.1570634590765; Wed, 09 Oct 2019 08:23:10 -0700 (PDT) Received: from angelo-ThinkPad-T470p.powersoft.it ([89.202.204.147]) by smtp.gmail.com with ESMTPSA id f18sm1667305wrv.38.2019.10.09.08.23.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 09 Oct 2019 08:23:10 -0700 (PDT) From: Angelo Compagnucci To: buildroot@buildroot.org Date: Wed, 9 Oct 2019 17:23:06 +0200 Message-Id: <1570634586-29441-1-git-send-email-angelo@amarulasolutions.com> X-Mailer: git-send-email 2.7.4 Subject: [Buildroot] [PATCH] docs/website: fixing cors request access X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Angelo Compagnucci MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" The service we were using for cors proxing disappeared rendering the bottom part of website not working. Signed-off-by: Angelo Compagnucci --- docs/website/js/buildroot.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/website/js/buildroot.js b/docs/website/js/buildroot.js index 48fafa6..bf80f11 100644 --- a/docs/website/js/buildroot.js +++ b/docs/website/js/buildroot.js @@ -1,11 +1,11 @@ function load_activity(feedurl, divid) { let container = document.getElementById(divid); $.ajax({ - url: "https://cors.io/?" + feedurl + url: "https://cors-anywhere.herokuapp.com/" + feedurl }) .done(function(data){ let x2js = new X2JS(); - let result = x2js.xml_str2json(data); + let result = x2js.xml_str2json(data.documentElement.outerHTML); let loaded = 0; let nb_display = 8; if (result==null) return;