From 831defeca34123d5ff3bd42045a60733c2258657 Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Fri, 16 Oct 2020 14:59:36 +0200 Subject: [PATCH] add /docs proxy --- docker/nginx/conf.d/client.conf | 4 ++++ packages/webapp/src/components/HomeSamples/HomeSamples.js | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docker/nginx/conf.d/client.conf b/docker/nginx/conf.d/client.conf index 1ec4855d..1bb00f85 100644 --- a/docker/nginx/conf.d/client.conf +++ b/docker/nginx/conf.d/client.conf @@ -56,6 +56,10 @@ server { root /var/www/webportal; } + location /docs { + proxy_pass https://nebulouslabs.github.io/skynet-docs; + } + location /blacklist { include /etc/nginx/conf.d/include/cors; diff --git a/packages/webapp/src/components/HomeSamples/HomeSamples.js b/packages/webapp/src/components/HomeSamples/HomeSamples.js index 211c806c..80c576e4 100644 --- a/packages/webapp/src/components/HomeSamples/HomeSamples.js +++ b/packages/webapp/src/components/HomeSamples/HomeSamples.js @@ -19,7 +19,7 @@ export default function HomeSamples() {

Above are some code snippets for uploading and retrieving data.

Skynet includes{" "} - + SDKs {" "} for popular programming languages and{" "}