mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-27 15:19:52 +02:00
Docs: restore local dev port to 9001 (#41545)
Co-authored-by: Julien Déramond <juderamond@gmail.com>
This commit is contained in:
@@ -9,7 +9,7 @@ const isDev = process.env.NODE_ENV === 'development'
|
||||
|
||||
const site = isDev
|
||||
? // In development mode, use the local dev server.
|
||||
'http://localhost:4321'
|
||||
'http://localhost:9001'
|
||||
: process.env.DEPLOY_PRIME_URL !== undefined
|
||||
? // If deploying on Netlify, use the `DEPLOY_PRIME_URL` environment variable.
|
||||
process.env.DEPLOY_PRIME_URL
|
||||
|
@@ -56,7 +56,7 @@ Running our documentation locally requires the use of Astro. Astro is a modern s
|
||||
|
||||
1. Run through the [tooling setup](#tooling-setup) above to install all dependencies.
|
||||
2. From the root `/bootstrap` directory, run `npm run docs-serve` in the command line.
|
||||
3. Open `http://localhost:4321/` in your browser, and voilà.
|
||||
3. Open http://localhost:9001 in your browser, and voilà.
|
||||
|
||||
Learn more about using Astro by reading its [documentation](https://docs.astro.build/en/getting-started/).
|
||||
|
||||
|
Reference in New Issue
Block a user