filemanager: fix mounting of filesystem and mountpoint backends
This commit is contained in:
@@ -33,7 +33,7 @@ function proxy(kind) {
|
||||
|
||||
req.url = url.format({ pathname: `/files/${id}/${encodeURIComponent(req.params[0])}`, query: parsedUrl.query }); // params[0] already contains leading '/'
|
||||
|
||||
const proxyOptions = url.parse(`https://${result.ip}:3000`);
|
||||
const proxyOptions = url.parse(`http://${result.ip}:3000`);
|
||||
proxyOptions.rejectUnauthorized = false;
|
||||
const fileManagerProxy = middleware.proxy(proxyOptions);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user