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

While post is in draft, meta tags are referring to write.as #91

Closed
gytisrepecka opened this Issue Apr 12, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@gytisrepecka
Copy link

gytisrepecka commented Apr 12, 2019

Describe the bug

While post is saved as draft several meta tag values uses write.as while instance domain is expected. When post is published, meta tags are ok.

While post is saved as draft following meta tags are incorrect:
<meta name="twitter:image" content="https://write.as/img/w-sq-light.png">
<meta property="og:url" content="https://write.as/xmta31a2yl" />
<meta property="og:image" content="https://write.as/img/w-sq-light.png">

Expected behavior

Expected is to see instance's domain:
<meta name="twitter:image" content="https://fedi.dev/img/avatars/g.png">
<meta property="og:url" content="https://fedi.dev/xmta31a2yl" />
<meta property="og:image" content="https://fedi.dev/img/avatars/g.png">

Version or last commit: v0.8.1-18-g372b4e5

@thebaer thebaer added the bug label Apr 12, 2019

@thebaer thebaer added this to the 0.9 milestone Apr 12, 2019

@thebaer

This comment has been minimized.

Copy link
Member

thebaer commented Apr 12, 2019

Good catch, thanks!

@thebaer thebaer self-assigned this Apr 12, 2019

@thebaer thebaer closed this in e80f99a Apr 12, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.