mirror of
https://github.com/unraid/api.git
synced 2026-01-03 15:09:48 -06:00
fix: remote client non-http (#617)
This commit is contained in:
@@ -33,7 +33,7 @@ export const getApiApolloClient = ({ upcApiKey }: { upcApiKey: string }) => {
|
||||
const nginxPort = getters?.emhttp()?.nginx?.httpPort ?? 80;
|
||||
graphqlLogger.debug('Internal GraphQL URL: %s', getInternalApiAddress(true, nginxPort));
|
||||
const httpLink = new HttpLink({
|
||||
uri: getInternalApiAddress(false, nginxPort),
|
||||
uri: getInternalApiAddress(true, nginxPort),
|
||||
fetch,
|
||||
headers: {
|
||||
Origin: '/var/run/unraid-cli.sock',
|
||||
|
||||
Reference in New Issue
Block a user