Astro
Astro produces ultra-light static sites. The folder you upload is called dist.
Building
Section titled “Building”-
Open a terminal in the project folder.
-
Install and build:
Terminal window npm installnpm run build -
A
distfolder appears. Upload it to Bailey.
The site / base setting
Section titled “The site / base setting”Astro generates correct paths for a site served at the root of a domain (which is your Bailey subdomain), so usually there’s nothing to set.
It’s still worth putting your address in astro.config.mjs (useful for the sitemap and absolute links):
export default defineConfig({ site: 'https://my-address.trybailey.app',});Do not add a base option unless your site is served from a sub-folder, which isn’t the case on Bailey. → Why your site looks broken