From cf7693db2ff73e0bb6fe27851c20ca1fd3d7bf48 Mon Sep 17 00:00:00 2001 From: PJ Date: Tue, 28 Jan 2020 12:21:15 +0100 Subject: [PATCH] Add trailing slash --- packages/siaviewnode-server/src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/siaviewnode-server/src/main.ts b/packages/siaviewnode-server/src/main.ts index 0fea9ca6..9b01a990 100644 --- a/packages/siaviewnode-server/src/main.ts +++ b/packages/siaviewnode-server/src/main.ts @@ -104,7 +104,7 @@ export class Server { this.app.get( "/sialink/:hash", - proxy("http://localhost:9980/skynet/skyfile", { + proxy("http://127.0.0.1:9980/skynet/skylink/", { proxyReqOptDecorator: (opts, _) => { opts.headers["User-Agent"] = "Sia-Agent" return opts