Open
Conversation
|
🚀 Deployed on https://deploy-preview-1925--utelecon.netlify.app |
seieric
requested changes
Apr 1, 2026
Member
seieric
left a comment
There was a problem hiding this comment.
Ubuntu上では動作が確認されたものの、Windows上ではMarkdown内に/notice/absolute/path/のように絶対パス表記があるページでMarkdownのパースに失敗してしまう問題があるようです。
Changes from #1924 should fix Windows path resolution error
Contributor
Author
|
指摘してくださったパース失敗は Windows系/UNIX系 のパス表記の違いによるもので、これは #1924 で修正されたため master を引き入れることによって解決を図りました。これで Windows でも正常に動作するはずだと思います。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
本番環境では
/foo/barにアクセスすると/foo/bar/にリダイレクトしてくれるようになっているのですが、dev環境で出てきたページは/foo/barにアクセスしても trailing slash がない状態でページがそのままお出しされ、相対リンク関係の挙動が変わってしまうため、検証に余計なミスが発生してしまった ということがありました。そこで
astro.config.tsにtrailingSlash: "always"を追加したいのですが、構いませんか?本番環境での挙動は変化せず、開発環境で誤って trailing slash なしのページ (本番環境ではアクセスし得ない) にアクセスした際に警告を出してくれるようになります。build.formatの説明でも開発環境で混乱しないようにこの設定を変えておくことが提案されています。参考
https://docs.astro.build/en/reference/configuration-reference/#trailingslash
https://docs.astro.build/en/reference/configuration-reference/#buildformat