mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
[plugins.c9.vfs.standalone] use current hostname for preview vfs-target
This commit is contained in:
parent
dc82e06477
commit
d85d57ea9b
@ -142,7 +142,7 @@ function plugin(options, imports, register) {
|
||||
},
|
||||
previewHandler.getProxyUrl(function() {
|
||||
return {
|
||||
url: "http://localhost:" + options.options.port + "/vfs"
|
||||
url: "http://" + options.options.host + ":" + options.options.port + "/vfs"
|
||||
};
|
||||
}),
|
||||
previewHandler.proxyCall()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user