Merge pull request #479 from NebulousLabs/skynet-docs

add /docs proxy for skynet sdk docs
This commit is contained in:
Karol Wypchło 2020-10-16 15:04:40 +02:00 committed by GitHub
commit 4fb60e94d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -56,6 +56,10 @@ server {
root /var/www/webportal; root /var/www/webportal;
} }
location /docs {
proxy_pass https://nebulouslabs.github.io/skynet-docs;
}
location /blacklist { location /blacklist {
include /etc/nginx/conf.d/include/cors; include /etc/nginx/conf.d/include/cors;

View File

@ -19,7 +19,7 @@ export default function HomeSamples() {
<p>Above are some code snippets for uploading and retrieving data.</p> <p>Above are some code snippets for uploading and retrieving data.</p>
<p> <p>
Skynet includes{" "} Skynet includes{" "}
<a href="https://nebulouslabs.github.io/skynet-docs" target="_blank" rel="noopener noreferrer" className="link"> <a href="https://siasky.net/docs" target="_blank" rel="noopener noreferrer" className="link">
SDKs SDKs
</a>{" "} </a>{" "}
for popular programming languages and{" "} for popular programming languages and{" "}