Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/notes/:noteIdに直接アクセスするとActivityPubのjsonが返ってくる #9393

Closed
tamaina opened this issue Dec 22, 2022 · 2 comments
Labels
🐛Bug Unexpected behavior 🔥high priority packages/backend Server side specific issue/PR

Comments

@tamaina
Copy link
Member

tamaina commented Dec 22, 2022

💡 Summary

ローカルのノートにアクセスするとjsonが返ってくる

https://p1.a9z.dev/notes/992iuz3mid

キャッシュがだめなのかも?
ただv13以降で発生するようになったのでFastifyが関係している可能性は高い

🥰 Expected Behavior

html(pug)が返ってくる

🤬 Actual Behavior

jsonが返ってくる

Misskey version: v13 alpha

@tamaina tamaina added ⚠️bug? This might be a bug packages/backend Server side specific issue/PR 🐛Bug Unexpected behavior 🔥high priority ❓needs more investigation A bug whose causes are unknown and removed ⚠️bug? This might be a bug labels Dec 22, 2022
@mei23
Copy link
Contributor

mei23 commented Dec 22, 2022

Varyヘッダ吐いてないわね
だからたぶんnginxでAP/HTMLのキャッシュが混ざってる

@tamaina tamaina removed the ❓needs more investigation A bug whose causes are unknown label Dec 22, 2022
@syuilo
Copy link
Member

syuilo commented Dec 22, 2022

やっぱりAP用のパス変えたい

@syuilo syuilo closed this as completed in 145c15f Dec 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛Bug Unexpected behavior 🔥high priority packages/backend Server side specific issue/PR
Projects
None yet
Development

No branches or pull requests

3 participants