All SourceLair project types (except for Generic), provide projects with an Public URL, mapped to their web server, in order to be able to view the application you are building and share your progress with anyone you wish.

All Public URLs are in the form of randomprojectid.apps.lair.io.

Security

All Public URLs in SourceLair are HTTPS-enabled by default. You are free to use and share your Public URL in any protocol you wish though (HTTPS or HTTP). Both of them will work at any time.

Accessing my project’s Public URL

You can access your project’s Public URL in 3 different places:

  1. the Command Palette
  2. the Sidebar
  3. the project’s details

In the Command Palette

Open the Command Palette, type public url and run the Server: Open Public URL command to open your project’s Public URL in a new browser tab.

Public URL in the Command Palette

Click on the eye icon in the sidebar, to open your project’s Public URL in a new browser tab.

Public URL in the Sidebar

Project details

Open your project details and scroll down to the Public URL section to view the Public URL of your project. Click on the Public URL to open it in a new tab.

Public URL in the project details