diff --git a/old-translations/de/installation.md b/old-translations/de/installation.md index 78cc8b147dd9a..ac3640b433ec9 100644 --- a/old-translations/de/installation.md +++ b/old-translations/de/installation.md @@ -99,7 +99,7 @@ Jetzt kannst du den Platzhalter im Abschnitt "scripts" deiner `package.json`-Dat } ``` -Der Befehl [`dev`](#start-astro) startet den Astro Entwicklungsserver auf `http://localhost:3000`. Sobald dein Projekt fertig ist, gibt der Befehl [`build`](#build-astro) dein Projekt in das Verzeichnis `dist/` aus. [Lese mehr über das Veröffentlichen von Astro-Builds](/guides/deploy). +Der Befehl [`dev`](#start-astro) startet den Astro Entwicklungsserver auf `http://localhost:4321`. Sobald dein Projekt fertig ist, gibt der Befehl [`build`](#build-astro) dein Projekt in das Verzeichnis `dist/` aus. [Lese mehr über das Veröffentlichen von Astro-Builds](/guides/deploy). ### Erstelle deine erste Seite @@ -145,7 +145,7 @@ Du kannst weitere Seiten im Verzeichnis `src/pages` erstellen - Astro verwendet npm run dev ``` -Astro wird von nun an deine Anwendung unter `http://localhost:3000` bereitstellen. Wenn du diese URL in deinem Browser öffnest, solltest du Astros "Hello, World" sehen. +Astro wird von nun an deine Anwendung unter `http://localhost:4321` bereitstellen. Wenn du diese URL in deinem Browser öffnest, solltest du Astros "Hello, World" sehen. Falls du deinen Entwicklungsfortschritt im lokalen Netzwerk teilen oder die Anwendung von einem Telefon aus testen möchtest, füge einfach die folgende Option in `astro.config.mjs` hinzu: diff --git a/old-translations/de/quick-start.md b/old-translations/de/quick-start.md index bde325c103c4b..afac060b67ac1 100644 --- a/old-translations/de/quick-start.md +++ b/old-translations/de/quick-start.md @@ -41,7 +41,7 @@ In deinem Projektverzeichnis führe den folgenden Befehl in deinem Terminal aus: npm run dev ``` -Astro wird von nun an deine Anwendung unter [http://localhost:3000](http://localhost:3000) bereitstellen. Wenn du diese URL in deinem Browser öffnest, solltest du Astros "Hello, World" sehen. +Astro wird von nun an deine Anwendung unter [http://localhost:4321](http://localhost:4321) bereitstellen. Wenn du diese URL in deinem Browser öffnest, solltest du Astros "Hello, World" sehen. Der Server wird nun auf alle Änderungen in deinem `src/`-Verzeichnisch lauschen, sodass du deine Anwendung nicht nach jeder Änderung neu starten musst. diff --git a/old-translations/es/installation.md b/old-translations/es/installation.md index 3dbf57b7485b5..fbb81e4fb1340 100644 --- a/old-translations/es/installation.md +++ b/old-translations/es/installation.md @@ -98,7 +98,7 @@ Ahora, puedes reemplazar la sección de "scripts" del archivo `package.json` que } ``` -El comando [`dev`](#start-astro) inicia el servidor de desarrollo de Astro en `http://localhost:3000`. Una vez que tu proyecto esté listo, el comando [`build`](#build-astro) genera tu proyecto en el directorio `dist/`. [Lee más sobre cómo desplegar Astro en la guía de despliegue](/es/guides/deploy). +El comando [`dev`](#start-astro) inicia el servidor de desarrollo de Astro en `http://localhost:4321`. Una vez que tu proyecto esté listo, el comando [`build`](#build-astro) genera tu proyecto en el directorio `dist/`. [Lee más sobre cómo desplegar Astro en la guía de despliegue](/es/guides/deploy). ### Crear tu primera página @@ -144,7 +144,7 @@ Puedes crear más páginas en el directorio `src/pages` y Astro utilizará los a npm run dev ``` -Ahora Astro estará corriendo tu aplicación en `http://localhost:3000`. Al abrir esta URL en tu navegador, deberías ver el “¡Hola, Mundo!” de Astro. +Ahora Astro estará corriendo tu aplicación en `http://localhost:4321`. Al abrir esta URL en tu navegador, deberías ver el “¡Hola, Mundo!” de Astro. Si necesitas compartir tu progreso de desarrollo en la red local o revisar la aplicación desde un teléfono, sólo agrega la siguiente opción en `astro.config.mjs`: diff --git a/old-translations/es/quick-start.md b/old-translations/es/quick-start.md index cbb2863b6c842..3b662de4e8598 100644 --- a/old-translations/es/quick-start.md +++ b/old-translations/es/quick-start.md @@ -39,7 +39,7 @@ Dentro del directorio de tu proyecto, ingresa el siguiente comando en la termina npm run dev ``` -Astro comenzará a correr en el servidor de desarrollo en [http://localhost:3000](http://localhost:3000). Abre esta ubicación en tu navegador, deberías ver la página de "¡Hola Mundo!" de Astro. +Astro comenzará a correr en el servidor de desarrollo en [http://localhost:4321](http://localhost:4321). Abre esta ubicación en tu navegador, deberías ver la página de "¡Hola Mundo!" de Astro. El servidor escuchará los cambios en vivo de los archivos en tu carpeta `src/`, así que, no necesitarás reiniciar la aplicación cuando hagas cambios durante el desarrollo. diff --git a/old-translations/fi/quick-start.md b/old-translations/fi/quick-start.md index 237bfb5ff0d64..08d2eb8b84a57 100644 --- a/old-translations/fi/quick-start.md +++ b/old-translations/fi/quick-start.md @@ -37,7 +37,7 @@ Siirry takaisin komentoriville ja suorita tämä komento projektin hakemistossa: npm run dev ``` -Tämän jälkeen ohjelma on käynnissä osoitteessa [http://localhost:3000](http://localhost:3000). Avaa tämä URL selaimessa nähdäksesi viestin "Moi maailma!", jonka kopioimme edellisessä vaiheessa. +Tämän jälkeen ohjelma on käynnissä osoitteessa [http://localhost:4321](http://localhost:4321). Avaa tämä URL selaimessa nähdäksesi viestin "Moi maailma!", jonka kopioimme edellisessä vaiheessa. Astro seuraa muutoksia `src/`-hakemiston sisällä, joten ohjelmaa ei tarvitse käynnistää uudelleen tehdessäsi muutoksia siihen koodatessasi. diff --git a/old-translations/fr/installation.md b/old-translations/fr/installation.md index fe01ea1ba594e..cddb4a2251b78 100644 --- a/old-translations/fr/installation.md +++ b/old-translations/fr/installation.md @@ -96,7 +96,7 @@ Vous pouvez aussi remplacer la section "scripts" du fichier `package.json` avec } ``` -La commande [`dev`](#start-astro) démarre le serveur de développement Astro à l'adresse `http://localhost:3000`. Une fois votre projet terminé, la commande [`build`](#build-astro) produit votre site dans le dossier `dist/`. [En savoir plus sur le déploiement d'un site développé avec Astro.](/guides/deploy) +La commande [`dev`](#start-astro) démarre le serveur de développement Astro à l'adresse `http://localhost:4321`. Une fois votre projet terminé, la commande [`build`](#build-astro) produit votre site dans le dossier `dist/`. [En savoir plus sur le déploiement d'un site développé avec Astro.](/guides/deploy) ### Créer une première page @@ -133,7 +133,7 @@ console.log('Coucou dans le terminal') Vous venez de lire un exemple de syntaxe des composants Astro, inspirée par le HTML et le JSX. -Vous pouvez continuer à ajouter des fichiers dans le dossier `src/pages`, et Astro se servira du nom du fichier pour ajouter des pages à votre site. Par exemple, si vous ajoutez une page `src/pages/a-propos.astro` (par exemple en reprenant le code ci-dessus), Astro va générer une nouvelle page à l'adresse `http://localhost:3000/a-propos`. +Vous pouvez continuer à ajouter des fichiers dans le dossier `src/pages`, et Astro se servira du nom du fichier pour ajouter des pages à votre site. Par exemple, si vous ajoutez une page `src/pages/a-propos.astro` (par exemple en reprenant le code ci-dessus), Astro va générer une nouvelle page à l'adresse `http://localhost:4321/a-propos`. ## [Démarrer Astro](#démarrer-astro) @@ -141,7 +141,7 @@ Vous pouvez continuer à ajouter des fichiers dans le dossier `src/pages`, et As npm run dev ``` -Astro va démarrer votre site à l'adresse `http://localhost:3000`. En ouvrant cette URL dans votre navigateur, vous devriez voir s'afficher "Hello, World", ou bien la page créée précédemment. +Astro va démarrer votre site à l'adresse `http://localhost:4321`. En ouvrant cette URL dans votre navigateur, vous devriez voir s'afficher "Hello, World", ou bien la page créée précédemment. ## [Compiler avec Astro](#compiler-avec-astro) diff --git a/old-translations/fr/quick-start.md b/old-translations/fr/quick-start.md index 2391b3303951d..aee90f214aab0 100644 --- a/old-translations/fr/quick-start.md +++ b/old-translations/fr/quick-start.md @@ -35,7 +35,7 @@ Depuis un terminal ouvert dans votre projet, entrez la commande suivante : npm run dev ``` -Astro va lancer un serveur local sur [http://localhost:3000](http://localhost:3000). Ouvrez cette adresse dans votre navigateur, et vous devriez voir le "Hello, World" d'Astro. +Astro va lancer un serveur local sur [http://localhost:4321](http://localhost:4321). Ouvrez cette adresse dans votre navigateur, et vous devriez voir le "Hello, World" d'Astro. Vous n'avez jamais besoin de redémarrer Astro : à chaque modification dans le dossier `src/`, le serveur recompile votre site. diff --git a/old-translations/hu/installation.md b/old-translations/hu/installation.md index 99e91fe659b85..dc7d4e2a85427 100644 --- a/old-translations/hu/installation.md +++ b/old-translations/hu/installation.md @@ -99,7 +99,7 @@ Következő lépésben lecserélheted az ideiglenes "scripts" szekciót a `packa } ``` -A [`dev`](#start-astro) parancs elindítja az Astro Fejlesztői Szerverét a `http://localhost:3000` címen. Amikor a projekted elkészül a [`build`](#build-astro) parancs megépíti a projektedet a `dist/` mappába. [Az Astro kiépítéséről többet olvashatsz a Kiépítési útmutatónkban.](/en/guides/deploy) +A [`dev`](#start-astro) parancs elindítja az Astro Fejlesztői Szerverét a `http://localhost:4321` címen. Amikor a projekted elkészül a [`build`](#build-astro) parancs megépíti a projektedet a `dist/` mappába. [Az Astro kiépítéséről többet olvashatsz a Kiépítési útmutatónkban.](/en/guides/deploy) ### Hozd létre az első oldalad @@ -145,7 +145,7 @@ Létrehozhatsz több oldalt az `src/pages` mappában. Az Astro a fájlok nevét npm run dev ``` -Az Astro mostantól a `http://localhost:3000` címen futtatja az alkalmazásodat. Ha megnyitod ezt a linket a böngésződben, látnod kell az Astro "Hello, World" mintaprogramját. +Az Astro mostantól a `http://localhost:4321` címen futtatja az alkalmazásodat. Ha megnyitod ezt a linket a böngésződben, látnod kell az Astro "Hello, World" mintaprogramját. Ha meg kell osztanod a helyi hálózaton, hogy hogyan halad a fejlesztés, vagy megnéznéd a mobilodról, csak add hozzá a következő opciót az `astro.config.mjs` fájlhoz: diff --git a/old-translations/hu/quick-start.md b/old-translations/hu/quick-start.md index a9e30aad7576b..4237bea9b9fbb 100644 --- a/old-translations/hu/quick-start.md +++ b/old-translations/hu/quick-start.md @@ -40,7 +40,7 @@ A projekted mappájában, írd be az alábbi parancsot a terminálba: npm run dev ``` -Mostantól az Astro alkalmazásod elérhető a [http://localhost:3000](http://localhost:3000) címen. Ha megnyitod ezt a címet a böngésződben, látnod kell az Astro saját "Hello, World"-jét. +Mostantól az Astro alkalmazásod elérhető a [http://localhost:4321](http://localhost:4321) címen. Ha megnyitod ezt a címet a böngésződben, látnod kell az Astro saját "Hello, World"-jét. A szerver autómatikusan figyeli az `src/` mappában történő változásokat, így nem kell újraindítanod az alkalmazást ha bármit módosítasz. diff --git a/old-translations/ja/installation.md b/old-translations/ja/installation.md index 205c5398535f9..a81558b3122d0 100644 --- a/old-translations/ja/installation.md +++ b/old-translations/ja/installation.md @@ -100,7 +100,7 @@ npm install astro } ``` -[`dev`](#astro-の開始)コマンドは、Astro Dev Server(`http://localhost:3000`)を起動します。プロジェクトの準備ができたら、[`build`](#astro-のビルド)コマンドで、プロジェクトを`dist/`ディレクトリに出力します。Astro のデプロイについては、[デプロイガイド](/guides/deploy)をご覧ください。 +[`dev`](#astro-の開始)コマンドは、Astro Dev Server(`http://localhost:4321`)を起動します。プロジェクトの準備ができたら、[`build`](#astro-のビルド)コマンドで、プロジェクトを`dist/`ディレクトリに出力します。Astro のデプロイについては、[デプロイガイド](/guides/deploy)をご覧ください。 ### 最初のページを作る @@ -146,7 +146,7 @@ console.log('これはターミナルに表示されます') npm run dev ``` -これで Astro は、`http://localhost:3000`でアプリケーションのサービスを開始します。この URL をブラウザで開くと、Astro の「Hello, World」が表示されるはずです。 +これで Astro は、`http://localhost:4321`でアプリケーションのサービスを開始します。この URL をブラウザで開くと、Astro の「Hello, World」が表示されるはずです。 開発の進捗状況をローカルネットワーク上で共有したり、スマートフォンからアプリを確認したければ、以下の オプションを`astro.config.mjs`に追加してください。 diff --git a/old-translations/ja/quick-start.md b/old-translations/ja/quick-start.md index 06e0d61f20aa0..1f5d86c4e1919 100644 --- a/old-translations/ja/quick-start.md +++ b/old-translations/ja/quick-start.md @@ -37,7 +37,7 @@ npm run build npm run dev ``` -これで Astro は、 [http://localhost:3000](http://localhost:3000)で、アプリケーションの提供を開始します。この URL をブラウザで開くと、Astro の「Hello, World」が表示されるはずです。 +これで Astro は、 [http://localhost:4321](http://localhost:4321)で、アプリケーションの提供を開始します。この URL をブラウザで開くと、Astro の「Hello, World」が表示されるはずです。 サーバーは、あなたの`src/`ディレクトリにあるファイルの変更を常に監視しているので、開発中に変更してもアプリケーションを再起動する必要はありません。 diff --git a/old-translations/nl/quick-start.md b/old-translations/nl/quick-start.md index 0c1aa791e8f48..279792de30cd8 100644 --- a/old-translations/nl/quick-start.md +++ b/old-translations/nl/quick-start.md @@ -38,7 +38,7 @@ Navigeer naar je project folder, en voer het volgende commando uit in je termina npm run dev ``` -Astro start nu je applicatie op, je kan deze vinden op [http://localhost:3000](http://localhost:3000). Als je deze URL opent zie je de Astro versie van "Hello, World". +Astro start nu je applicatie op, je kan deze vinden op [http://localhost:4321](http://localhost:4321). Als je deze URL opent zie je de Astro versie van "Hello, World". De server luistert naar live wijzifgingen in je `src/` folder, dus je hoeft de applicatie niet handmatig te herstarten bij elke wijziging tijdens de ontwikkeling. diff --git a/old-translations/ru/quick-start.md b/old-translations/ru/quick-start.md index 8718058a9b497..3ac324e88be4b 100644 --- a/old-translations/ru/quick-start.md +++ b/old-translations/ru/quick-start.md @@ -37,7 +37,7 @@ npm run build npm run dev ``` -Astro запустит сервер для разработки по адресу [http://localhost:3000](http://localhost:3000). При открытии этого URL в вашем браузере, вы должны увидеть "Hello, World" от Astro. +Astro запустит сервер для разработки по адресу [http://localhost:4321](http://localhost:4321). При открытии этого URL в вашем браузере, вы должны увидеть "Hello, World" от Astro. Сервер будет следить за изменениями в директории `src/`, значит вам не нужно будет перезапускать сервер каждый раз после внесения изменений. diff --git a/old-translations/zh-CN/installation.md b/old-translations/zh-CN/installation.md index 80ffbe335187c..bfe6e5ffe3983 100644 --- a/old-translations/zh-CN/installation.md +++ b/old-translations/zh-CN/installation.md @@ -102,7 +102,7 @@ npm install astro } ``` -[`dev`](#start-dev) 命令在 `http://localhost:3000` 上启动 Astro 开发服务器。一旦你的项目准备好了。 +[`dev`](#start-dev) 命令在 `http://localhost:4321` 上启动 Astro 开发服务器。一旦你的项目准备好了。 [`build`](#build-astro)命令将你的项目输出到 `dist/` 目录。[在部署指南中阅读更多关于部署 Astro 的内容。](/guides/deploy) @@ -149,7 +149,7 @@ console.log('See me in the Terminal') npm run dev ``` -Astro 会开启预览服务器,地址为 [http://localhost:3000](http://localhost:3000), +Astro 会开启预览服务器,地址为 [http://localhost:4321](http://localhost:4321), 在浏览器打开这个网址,就会看到 Astro 的 HelloWorld 页面 服务器会实时监听 'src/' 目录下的文件改动,所以在开发过程的支持热更新,修改程序后,无需重启。 diff --git a/old-translations/zh-CN/quick-start.md b/old-translations/zh-CN/quick-start.md index 1a94d74581842..0df701509c0ad 100644 --- a/old-translations/zh-CN/quick-start.md +++ b/old-translations/zh-CN/quick-start.md @@ -35,7 +35,7 @@ npm run build npm run dev ``` -Astro 会开启预览服务器,地址为 [http://localhost:3000](http://localhost:3000), +Astro 会开启预览服务器,地址为 [http://localhost:4321](http://localhost:4321), 在浏览器打开这个网址,就会看到 Astro 的 HelloWorld 页面 服务器会实时监听 'src/' 目录下的文件改动,所以在开发过程的支持热更新,修改程序后,无需重启。 diff --git a/old-translations/zh-TW/installation.md b/old-translations/zh-TW/installation.md index ff3d1bb410100..dde217ea07d98 100644 --- a/old-translations/zh-TW/installation.md +++ b/old-translations/zh-TW/installation.md @@ -98,7 +98,7 @@ npm install astro } ``` -[`dev`](#start-astro) 指令在 `http://localhost:3000` 啟動 Astro 開發伺服器。一但專案已經準備好,[`build`](#build-astro) 指令將專案輸出至 `dist/` 資料夾。[在「部署指南」深入閱讀部署 Astro](/guides/deploy)。 +[`dev`](#start-astro) 指令在 `http://localhost:4321` 啟動 Astro 開發伺服器。一但專案已經準備好,[`build`](#build-astro) 指令將專案輸出至 `dist/` 資料夾。[在「部署指南」深入閱讀部署 Astro](/guides/deploy)。 ### 建立第一個頁面 @@ -144,7 +144,7 @@ console.log('See me in the Terminal') npm run dev ``` -Astro 會為應用程式打開 `http://localhost:3000` 的伺服器。在瀏覽器開啟網址,就會看到 Astro 的「Hello World」。 +Astro 會為應用程式打開 `http://localhost:4321` 的伺服器。在瀏覽器開啟網址,就會看到 Astro 的「Hello World」。 ## [Build Astro](#build-astro) diff --git a/old-translations/zh-TW/quick-start.md b/old-translations/zh-TW/quick-start.md index 5eeff6e625dbc..d6c072b7a6041 100644 --- a/old-translations/zh-TW/quick-start.md +++ b/old-translations/zh-TW/quick-start.md @@ -35,7 +35,7 @@ npm run build npm run dev ``` -現在,Astro 就會開啟應用程式的伺服器,位置是 [http://localhost:3000](http://localhost:3000)。在瀏覽器打開這網址,就會看到 Astro 的 「Hello, World」。 +現在,Astro 就會開啟應用程式的伺服器,位置是 [http://localhost:4321](http://localhost:4321)。在瀏覽器打開這網址,就會看到 Astro 的 「Hello, World」。 伺服器會即時監聽 `src/` 資料夾的檔案異動,所以在開發過程的更新毋需重新啟動應用程式。 diff --git a/src/content/docs/de/guides/deploy/google-cloud.mdx b/src/content/docs/de/guides/deploy/google-cloud.mdx index ab39084fbc61b..e861bd6e75b4a 100644 --- a/src/content/docs/de/guides/deploy/google-cloud.mdx +++ b/src/content/docs/de/guides/deploy/google-cloud.mdx @@ -69,7 +69,7 @@ RUN pnpm run build ##### Dockerfile für SSR-Websites (Beispiel) -Das folgende Dockerfile erstellt deine Website und stellt sie mit Node.js (SSR-Adapter) auf Port `3000` bereit. +Das folgende Dockerfile erstellt deine Website und stellt sie mit Node.js (SSR-Adapter) auf Port `4321` bereit. ```docker title="Dockerfile" FROM node:lts AS runtime @@ -81,8 +81,8 @@ RUN npm install RUN npm run build ENV HOST=0.0.0.0 -ENV PORT=3000 -EXPOSE 3000 +ENV PORT=4321 +EXPOSE 4321 CMD node ./dist/server/entry.mjs ``` diff --git a/src/content/docs/de/guides/markdown-content.mdx b/src/content/docs/de/guides/markdown-content.mdx index 91748fa192b88..954bd30eeb6c9 100644 --- a/src/content/docs/de/guides/markdown-content.mdx +++ b/src/content/docs/de/guides/markdown-content.mdx @@ -13,7 +13,7 @@ Astro behandelt jede `.md`-Datei innerhalb des Verzeichnisses `/src/pages` als e ### Einfaches Beispiel -Der einfachste Einstieg in die Verwendung von Markdown mit Astro besteht darin, die Datei `src/pages/index.md` als Startseiten-Route für dein Projekt zu erstellen. Kopiere dann den untenstehenden Beispielinhalt in die Datei und sieh dir den gerenderten HTML-Code auf der Startseite deines Projekts an. Du findest sie normalerweise unter [http://localhost:3000/](http://localhost:3000/). +Der einfachste Einstieg in die Verwendung von Markdown mit Astro besteht darin, die Datei `src/pages/index.md` als Startseiten-Route für dein Projekt zu erstellen. Kopiere dann den untenstehenden Beispielinhalt in die Datei und sieh dir den gerenderten HTML-Code auf der Startseite deines Projekts an. Du findest sie normalerweise unter [http://localhost:4321/](http://localhost:4321/). ```markdown --- diff --git a/src/content/docs/de/guides/testing.mdx b/src/content/docs/de/guides/testing.mdx index fc6e1c9df9541..70c9b824e948f 100644 --- a/src/content/docs/de/guides/testing.mdx +++ b/src/content/docs/de/guides/testing.mdx @@ -57,14 +57,14 @@ Alternativ kannst du Playwright in deinem Astro-Projekt mit dem von dir gewählt ```jsx title="src/test/index.spec.ts" "Astro ist fantastisch!" test('Metadaten sind korrekt', async ({ page }) => { - await page.goto("http://localhost:3000/"); + await page.goto("http://localhost:4321/"); await expect(page).toHaveTitle('Astro ist fantastisch!'); }); ``` :::tip[Eine Basis-URL setzen] -Du kannst [`"baseURL": "http://localhost:3000"`](https://playwright.dev/docs/api/class-testoptions#test-options-base-url) in der `playwright.config.ts`-Konfigurationsdatei setzen, um `page.goto("/")` anstatt `page.goto("http://localhost:3000/")` als komfortablere URL zu nutzen. +Du kannst [`"baseURL": "http://localhost:4321"`](https://playwright.dev/docs/api/class-testoptions#test-options-base-url) in der `playwright.config.ts`-Konfigurationsdatei setzen, um `page.goto("/")` anstatt `page.goto("http://localhost:4321/")` als komfortablere URL zu nutzen. ::: ### Deine Playwright-Tests ausführen @@ -100,12 +100,12 @@ import type { PlaywrightTestConfig } from '@playwright/test'; const config: PlaywrightTestConfig = { webServer: { command: 'yarn preview', - url: 'http://localhost:3000/app/', + url: 'http://localhost:4321/app/', timeout: 120 * 1000, reuseExistingServer: !process.env.CI, }, use: { - baseURL: 'http://localhost:3000/app/', + baseURL: 'http://localhost:4321/app/', }, }; export default config; diff --git a/src/content/docs/de/install/auto.mdx b/src/content/docs/de/install/auto.mdx index dedc071526567..f4394a513e0b9 100644 --- a/src/content/docs/de/install/auto.mdx +++ b/src/content/docs/de/install/auto.mdx @@ -62,7 +62,7 @@ yarn run dev pnpm run dev ``` -Wenn alles gut geht, sollte dein Astro-Projekt jetzt unter [http://localhost:3000/](http://localhost:3000/) aufrufbar sein! +Wenn alles gut geht, sollte dein Astro-Projekt jetzt unter [http://localhost:4321/](http://localhost:4321/) aufrufbar sein! Astro überwacht zur Laufzeit alle Dateien im Verzeichnis `src/`, sodass du den Server nicht neu starten musst, wenn du während der Entwicklung Änderungen vornimmst. diff --git a/src/content/docs/de/reference/configuration-reference.mdx b/src/content/docs/de/reference/configuration-reference.mdx index 163ec637358a6..5a125469a8356 100644 --- a/src/content/docs/de/reference/configuration-reference.mdx +++ b/src/content/docs/de/reference/configuration-reference.mdx @@ -200,7 +200,7 @@ Um unterschiedliche Konfigurationen auf der Grundlage des ausgeführten Befehls { // Beispiel: Verwende die Funktionssyntax, um Anpassungen // auf der Grundlage des ausgeführten Befehls vorzunehmen - server: (command) => ({ port: command === 'dev' ? 3000 : 4000 }) + server: (command) => ({ port: command === 'dev' ? 4321 : 4000 }) } ``` @@ -224,7 +224,7 @@ Legt fest, unter welchen Netzwerk-IP-Adressen der Entwicklungsserver erreichbar
**Typ:** `number`
-**Standard:** `3000`
+**Standard:** `4321`