mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 12:24:38 +03:00
Include server host in plugin input (#1514)
This commit is contained in:
@@ -19,7 +19,7 @@ import (
|
||||
func NewClient(provider common.StashServerConnection) *graphql.Client {
|
||||
portStr := strconv.Itoa(provider.Port)
|
||||
|
||||
u, _ := url.Parse("http://localhost:" + portStr + "/graphql")
|
||||
u, _ := url.Parse("http://" + provider.Host + ":" + portStr + "/graphql")
|
||||
u.Scheme = provider.Scheme
|
||||
|
||||
cookieJar, _ := cookiejar.New(nil)
|
||||
|
||||
Reference in New Issue
Block a user