Merge pull request #109 from useblacksmith/use-port-env

src: use port from env
pull/1393/head
Aditya Maru 8 months ago committed by GitHub
commit 49f6d185dd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

2
dist/index.js generated vendored

File diff suppressed because one or more lines are too long

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

@ -35,7 +35,7 @@ const createBlacksmithAPIClient = () => {
export function createBlacksmithAgentClient() {
const transport = createGrpcTransport({
baseUrl: 'http://192.168.127.1:5557',
baseUrl: `http://192.168.127.1:${process.env.BLACKSMITH_STICKY_DISK_GRPC_PORT || '5557'}`,
httpVersion: '2'
});

Loading…
Cancel
Save