Skip to content

Commit c0f9bee

Browse files
feat(createClient): Enable cf user agent
1 parent 96b4370 commit c0f9bee

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

lib/utils/create-clients.js

+9-3
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ export default function createClients (opts) {
2727
port: opts.deliveryPort,
2828
headers: opts.deliveryHeaders,
2929
insecure: opts.deliveryInsecure,
30-
proxy: opts.proxy
30+
proxy: opts.proxy,
31+
application: opts.deliveryApplication,
32+
integration: opts.deliveryIntegration
3133
})
3234
}
3335

@@ -38,7 +40,9 @@ export default function createClients (opts) {
3840
port: opts.managementPort,
3941
headers: opts.managementHeaders,
4042
insecure: opts.managementInsecure,
41-
proxy: opts.proxy
43+
proxy: opts.proxy,
44+
application: opts.managementApplication,
45+
integration: opts.managementIntegration
4246
})
4347
}
4448

@@ -51,7 +55,9 @@ export default function createClients (opts) {
5155
port: opts.managementPort,
5256
headers: opts.managementHeaders,
5357
insecure: opts.managementInsecure,
54-
proxy: opts.proxy
58+
proxy: opts.proxy,
59+
application: opts.managementApplication,
60+
integration: opts.managementIntegration
5561
})
5662
}
5763
}

0 commit comments

Comments
 (0)