Re: Shopify cli not showing tunnel url in the console

Solved

Shopify cli not showing tunnel url in the console

goreya
Shopify Partner
3 1 0

Shopify cli command npm run dev used to output the tunnel url however it is no longer outputting the tunnel url. Is there any way to find out the tunnel url, need this for app proxy when developing locally.

Accepted Solution (1)

goreya
Shopify Partner
3 1 0

This is an accepted solution.

I've found where the tunnel url is. Cli writes the url in shopify.app.toml file in the project folder.

View solution in original post

Replies 3 (3)

BrainStation23
Shopify Partner
374 56 54

hi @goreya ,

You can manually set the tunnel url using the --tunnel-url flag while running a Shopify app using the CLI. 
the command should look like this

shopify app dev --tunnel-url <tunnel-url>:<PORT>

Brain Station 23 PLC (Mail: js.team@brainstation-23.com)
- Was your question answered? Mark it as an Accepted Solution
- Did the solution not address your concern? We kindly request that share or mail your store URL with us this will enable us to collaborate more closely.
- Explore our Shopify public apps
goreya
Shopify Partner
3 1 0

hi @BrainStation23 

Thanks for replying. I am not using an external tunnel (cloudflare or ngrok). I've found where the cli is writing the tunnel url that it generates.

goreya
Shopify Partner
3 1 0

This is an accepted solution.

I've found where the tunnel url is. Cli writes the url in shopify.app.toml file in the project folder.