LoginSignup
0
0

More than 5 years have passed since last update.

google-home-notifierでhttpを公開しない方法

Posted at

結論

connect のオプションに bind_tls: true を指定する。

example.js
// 略
app.listen(serverPort, function () {
  ngrok.connect(
    {
      addr: serverPort,
      authtoken: "<your authtoken from ngrok.com>",
      bind_tls: true
    }, function (err, url) {
// 略

bind_tls

bind_tls: "both" (デフォルト)

bind_tls_both.png

bind_tls: true

bind_tls_true.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0