]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
🌐 Update translations for ja (update-outdated) (#15998)
authorSebastián Ramírez <tiangolo@gmail.com>
Wed, 15 Jul 2026 08:09:44 +0000 (10:09 +0200)
committerGitHub <noreply@github.com>
Wed, 15 Jul 2026 08:09:44 +0000 (10:09 +0200)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
docs/ja/docs/tutorial/frontend.md

index facbbc1d16eabde9fc1a55ddec0cfab72d679bdf..eb23d1e9ba471beac2e782fb99083ba84ff83876 100644 (file)
@@ -126,6 +126,12 @@ npm run build
 
 他の router 内のものを含め、アプリ内の通常の *path operations* は引き続き優先されます。
 
+## 依存関係とミドルウェア { #dependencies-and-middleware }
+
+フロントエンドのレスポンスは通常の **FastAPI** アプリケーション内で実行されるため、HTTP ミドルウェアが適用されます。
+
+アプリ、`APIRouter`、および `include_router()` からの依存関係もフロントエンドのレスポンスに適用されます。これは、cookie 認証などでフロントエンドを保護する場合に役立ちます。
+
 ## 静的ビルド出力のみ { #static-build-output-only }
 
 `app.frontend()` は、フロントエンドのビルドで既に生成されたファイルを配信します。