Working with Slug and Environment
When you are asked to create an application, you'll be prompted for a name and a slug. The slug for an application is the identifier used to access your Vapor application. For example, if your slug is firstvapor-angus, the URL for your application becomes https://firstvapor-angus.vapor.cloud.
Vapor Cloud's hosting service also allows you to configure different environments. You can create different environments for different stages of development, such as alpha, beta, testing, staging, and development. The URL for your application will add a suffix to the slug. For example, the beta development environment for your application will have the following URL for your application: https://firstvapor-angus-beta.vapor.cloud ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access