{"author_name":"chamotarooo","published":"2026-10-09 20:46:27","type":"rich","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchamotaro.hatenablog.com%2Fentry%2Ftech%2Fnextjs-protected-routes-prefix-match\" title=\"Next.js \u306e proxy.ts \u3067\u3044\u3046\u300c\u4fdd\u8b77\u30eb\u30fc\u30c8\u300d\u3068\u306f\u4f55\u304b\u3001\u4e00\u89a7\u306b\u7121\u3044\u30da\u30fc\u30b8\u306f\u3069\u3046\u6271\u308f\u308c\u308b\u306e\u304b - chamotarooo\u306e\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","blog_title":"chamotarooo\u306e\u30d6\u30ed\u30b0","description":"\u306f\u3058\u3081\u306b \u4f1a\u54e1\u3060\u3051\u304c\u898b\u3089\u308c\u308b\u30da\u30fc\u30b8\u3092\u3001\u65b0\u3057\u304f\u4f5c\u308b\u3053\u3068\u306b\u306a\u3063\u305f\u3002 \u30ed\u30b0\u30a4\u30f3\u5fc5\u9808\u306b\u3059\u308b\u65b9\u6cd5\u3092\u805e\u304f\u3068\u3001\u7b54\u3048\u306f Next.js \u306e proxy.ts\uff08\u4ee5\u524d\u306e\u540d\u524d\u306f middleware\uff09\u3060\u3063\u305f\u3002 proxy.ts \u306e\u4e2d\u306b\u306f\u300c\u4fdd\u8b77\u30eb\u30fc\u30c8\u300d\u3068\u3044\u3046\u540d\u524d\u306e\u30d1\u30b9\u306e\u4e00\u89a7\u304c\u3042\u308a\u3001\u65b0\u3057\u3044\u30da\u30fc\u30b8\u306e\u30d1\u30b9\u3092\u305d\u3053\u306b\u8db3\u305b\u3070\u3088\u3044\u3089\u3057\u3044\u3002 \u8db3\u3059\u524d\u306b\u30012\u3064\u5206\u304b\u3089\u306a\u3044\u3053\u3068\u304c\u3042\u3063\u305f\u3002 \u4fdd\u8b77\u30eb\u30fc\u30c8\u3068\u306f\u6b63\u78ba\u306b\u306f\u4f55\u3092\u6307\u3057\u3001\u3069\u3053\u307e\u3067\u304c\u5bfe\u8c61\u306b\u306a\u308b\u306e\u304b\u3002 \u305d\u3057\u3066\u3001\u4e00\u89a7\u306b\u7121\u3044\u30da\u30fc\u30b8\u306f\u3069\u3046\u6271\u308f\u308c\u308b\u306e\u304b\u3002 \u672c\u8a18\u4e8b\u306f\u3001\u3053\u306e2\u3064\u3092\u6271\u3046\u3002 \u30ed\u30b0\u30a4\u30f3\u5f8c\u306e\u623b\u308a\u5148\u306e\u53d7\u3051\u6e21\u3057\u3068\u3001proxy.ts \u305d\u306e\u3082\u306e\u306e\u4f4d\u7f6e\u3065\u3051\u306f\u3001\u5225\u306e\u8a18\u4e8b\u306b\u5206\u3051\u305f\u3002 \u672c\u8a18\u4e8b\u306f2026\u5e7410\u6708\u6642\u70b9\u306e\u2026","image_url":null,"provider_name":"Hatena Blog","title":"Next.js \u306e proxy.ts \u3067\u3044\u3046\u300c\u4fdd\u8b77\u30eb\u30fc\u30c8\u300d\u3068\u306f\u4f55\u304b\u3001\u4e00\u89a7\u306b\u7121\u3044\u30da\u30fc\u30b8\u306f\u3069\u3046\u6271\u308f\u308c\u308b\u306e\u304b","author_url":"https://blog.hatena.ne.jp/chamotarooo/","width":"100%","version":"1.0","url":"https://chamotaro.hatenablog.com/entry/tech/nextjs-protected-routes-prefix-match","categories":["\u6280\u8853"],"blog_url":"https://chamotaro.hatenablog.com/"}