TODOROKI MOTION ブログは以下に移動しました。

3秒後に新しいページへ移動します。
自動的に移動しない場合は、お手数ですが以下をクリックしてください。

ブログ(トドロキモーション公式サイト内)

The TODOROKI MOTION blog has moved to a new location.

he page will redirect in 3 seconds.
If it doesn't, please click the link below.

Blog (on the official TODOROKI MOTION website)

vercelのredirectのバグ

astrojs 自身がリダイレクト機能を有しているので、それを利用して旧サイトのURLを以下のように全て記載していたが、肝心のvercel側でリダイレクトされていなかったことに気づいた。

astro.config.mjs:

    ...
    adapter: vercel(),
    redirects: {
        "/blik": "/blik/blik-0/",
        "/posts": "/blog/first",
        "/detail/7953ce2a-2703-4ae0-a279-f19427805aad": "/blik/blik-0/",
        ...
    },
    ...

が、気づいたそばから直っていた。 @astrojs/vercel 6.1.0 で解消済みなので

https://www.blender-ikkinomi.com/detail/ec1982ce-9825-42dd-ad87-d194bdf3c066

は、無事、

https://www.blender-ikkinomi.com/blik/blik-21/

にリダイレクトされるようになった。

が、末尾に’/‘がある場合にまだ不具合があるので報告済み。以下はまだリダイレクトされない。

https://www.blender-ikkinomi.com/detail/ec1982ce-9825-42dd-ad87-d194bdf3c066/

https://github.com/withastro/astro/issues/9259