<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kurosame-th</author_name>
  <author_url>https://blog.hatena.ne.jp/kurosame-th/</author_url>
  <blog_title>kurosame’s diary</blog_title>
  <blog_url>https://kurosame-th.hatenadiary.com/</blog_url>
  <categories>
    <anon>React</anon>
    <anon>React Router</anon>
    <anon>SPA</anon>
    <anon>Amazon CloudFront</anon>
    <anon>Next.js</anon>
  </categories>
  <description>はじめに この記事の内容は、以下のサイトと同じことをやってます この記事は自分用のメモです https://colinhacks.com/essays/building-a-spa-with-nextjs https://blog.hey3.dev/posts/nextjs-spa 概要 Next.js アプリを静的ファイルにビルドし、S3 にデプロイ、CloudFront で公開していた しかし、動的ルーティングを使うことになり、これ自体は Next.js がサポートしているので問題ないが、/task/[id].htmlに対して URL から直接アクセスが来た場合に 403 エラーとなってし…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkurosame-th.hatenadiary.com%2Fentry%2F2021%2F08%2F04%2F150426&quot; title=&quot;静的サイトの Next.js を SPA でルーティングさせる - kurosame’s diary&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-08-04 15:04:26</published>
  <title>静的サイトの Next.js を SPA でルーティングさせる</title>
  <type>rich</type>
  <url>https://kurosame-th.hatenadiary.com/entry/2021/08/04/150426</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
