Add trailing slash

This commit is contained in:
PJ 2020-01-28 12:21:15 +01:00
parent fa16b45e83
commit cf7693db2f
1 changed files with 1 additions and 1 deletions

View File

@ -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