1.1.5 • Published 6 years ago

gatsby-plugin-ngrok-tunneling v1.1.5

Weekly downloads
94
License
-
Repository
github
Last release
6 years ago

gatsby-plugin-ngrok-tunneling

Sets up tunneling using ngrok

Only used in development or if process.env.TUNNELING === 'true' (disable with process.env.TUNNELING === 'false')

Install

npm install --save gatsby-plugin-ngrok-tunneling

How to use

plugins: [ 'gatsby-plugin-ngrok-tunneling' ]

Overriding Options

You can override the default ngrok options config

ngrok npm

{
  proto: 'http',      // http|tcp|tls
  addr: 8080,         // port or network address
  auth: 'user:pwd',   // http basic authentication for tunnel
  subdomain: 'alex',  // reserved tunnel name https://alex.ngrok.io
  authtoken: '12345', // your authtoken from ngrok.com
  region: 'us'        // one of ngrok regions (us, eu, au, ap), defaults to us,
  configPath: '~/git/project/ngrok.yml'                      // custom path for ngrok config file
  binPathReplacer: ['app.asar/bin', 'app.asar.unpacked/bin'] // custom path replacement when using for production in electron
}
1.1.5

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago