I followed this guidelines to deploy my app to fly.io, but is does not work: https://shopify.dev/apps/deployment/web . When I try to test it browsing to https://my-app-name.fly.dev/api/auth?shop=my-dev-shop-name.myshopify.com I get this error:
It does work in Heroku though.
These are my fly.toml file configurations:
app = “remindme-app”
kill_signal = “SIGINT”
kill_timeout = 5
processes =
[build.args]
NODE_ENV = “production”
[env]
NODE_ENV = “production”
BACKEND_PORT = “8080”
HOST = —
SHOPIFY_API_KEY = —
SCOPES = “write_themes”
API_KEY = —
[experimental]
allowed_public_ports =
auto_rollback = true
[[services]]
http_checks =
internal_port = 8080
processes = [“app”]
protocol = “tcp”
script_checks =
[services.concurrency]
hard_limit = 25
soft_limit = 20
type = “connections”
[[services.ports]]
force_https = true
handlers = [“http”]
port = 80
[[services.ports]]
handlers = [“tls”, “http”]
port = 443
[[services.tcp_checks]]
grace_period = “1s”
interval = “15s”
restart_limit = 0
timeout = “2s”
Thanks in advance!
