Browse Source
🌐 Update translations for ja (update-outdated) (#15998)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
pull/16007/head
Sebastián Ramírez
3 days ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
6 additions and
0 deletions
-
docs/ja/docs/tutorial/frontend.md
|
|
@ -126,6 +126,12 @@ npm run build |
|
|
|
|
|
|
|
|
他の router 内のものを含め、アプリ内の通常の *path operations* は引き続き優先されます。 |
|
|
他の router 内のものを含め、アプリ内の通常の *path operations* は引き続き優先されます。 |
|
|
|
|
|
|
|
|
|
|
|
## 依存関係とミドルウェア { #dependencies-and-middleware } |
|
|
|
|
|
|
|
|
|
|
|
フロントエンドのレスポンスは通常の **FastAPI** アプリケーション内で実行されるため、HTTP ミドルウェアが適用されます。 |
|
|
|
|
|
|
|
|
|
|
|
アプリ、`APIRouter`、および `include_router()` からの依存関係もフロントエンドのレスポンスに適用されます。これは、cookie 認証などでフロントエンドを保護する場合に役立ちます。 |
|
|
|
|
|
|
|
|
## 静的ビルド出力のみ { #static-build-output-only } |
|
|
## 静的ビルド出力のみ { #static-build-output-only } |
|
|
|
|
|
|
|
|
`app.frontend()` は、フロントエンドのビルドで既に生成されたファイルを配信します。 |
|
|
`app.frontend()` は、フロントエンドのビルドで既に生成されたファイルを配信します。 |
|
|
|