domains
Manage custom domains for an app. After adding a domain, point your DNS to the server's IP address and Slasha will obtain a TLS certificate automatically.
slasha domains list
List all custom domains attached to an app.
slasha domains --app my-api listslasha domains add
Attach a custom domain to an app.
slasha domains --app my-api add api.example.comAfter adding, create a DNS A record pointing api.example.com to your server's IP. Slasha will request a certificate from Let's Encrypt automatically once the DNS record propagates.
slasha domains remove
Remove a custom domain from an app.
slasha domains --app my-api remove api.example.comFor all three subcommands, --app <SLUG> can be omitted if a slasha.toml is present in the current directory.