Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set host at initialization #290

Open
j4m3sb0mb opened this issue Feb 24, 2021 · 2 comments
Open

Set host at initialization #290

j4m3sb0mb opened this issue Feb 24, 2021 · 2 comments
Assignees

Comments

@j4m3sb0mb
Copy link

It would be useful to set host, port and protocol at initialization

const stelace = require('stelace').createInstance({
  apiKey: 'seck_test_ ...',
  host: '0.0.0.0',
  port: '443',
  protocol: 'https'
})
@woyuen
Copy link
Member

woyuen commented Mar 5, 2021

Hi @j4m3sb0mb,
Thanks for the feedback. This would be useful indeed. I'll add the host configuration at initialization.

@woyuen woyuen self-assigned this Mar 5, 2021
@DmitryKvant
Copy link

DmitryKvant commented Jul 19, 2021

const stelace = require("stelace").createInstance({
apiKey: "seck_test_wakWA41rBTUXs1Y5oNRjeY5o"
});

stelace.setHost("localhost", "4100", "http");

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants