Skip to content

Commit

Permalink
i18n(ko-KR): update environment-variables.mdx (#8615)
Browse files Browse the repository at this point in the history
Co-authored-by: Paul Valladares <[email protected]>
  • Loading branch information
jsparkdev and dreyfus92 committed Jun 21, 2024
1 parent 82713aa commit df5e623
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/content/docs/ko/guides/environment-variables.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@ title: 환경 변수 사용
description: Astro 프로젝트에서 환경 변수를 사용하는 방법을 알아보세요.
i18nReady: true
---

import PackageManagerTabs from '~/components/tabs/PackageManagerTabs.astro';

:::tip[astro&#58;env를 찾고 계신가요?]
타입 안정성을 갖춘 환경 변수를 위한 [실험적 `astro:env` API](/ko/reference/configuration-reference/#experimentalenv)에 대해 자세히 알아보세요!
:::

Astro는 빌드 시 정적으로 교체되는 Vite에 내장된 환경 변수 지원을 사용합니다. 이를 통해 [Vite가 제공하는 모든 방법](https://ko.vitejs.dev/guide/env-and-mode.html)을 사용하여 환경 변수를 관리할 수 있습니다.

_모든_ 환경 변수는 서버 측 코드에서만 사용할 수 있으며, 보안을 위해 오직 `PUBLIC_` 접두사를 사용하는 환경 변수만이 클라이언트 측 코드에서 사용될 수 있습니다.
Expand Down

0 comments on commit df5e623

Please sign in to comment.