-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
use a different image in previews #13488
Conversation
webpack.config.js
Outdated
@@ -6,7 +6,7 @@ const OptimizeCSSAssetsPlugin = require('optimize-css-assets-webpack-plugin'); | |||
const webpack = require("webpack"); | |||
|
|||
let og_image_url = process.env.RIOT_OG_IMAGE_URL; | |||
if (!og_image_url) og_image_url = 'https://riot.im/app/themes/riot/img/logos/riot-im-logo-black-text.png'; | |||
if (!og_image_url) og_image_url = 'https://about.riot.im/images/opengraph.png'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps it's better to keep the app self-contained by copying this asset into the logos folder? If we redesign about.riot.im some day, we're likely to forget we've depended on this path.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, looks good to me! 😁
worth noting https://riot.im/app/themes/riot/img/logos/opengraph.png is 404ing |
Right, it normally wouldn't have appeared until release. I went ahead and manually copied it from develop to app, so should be good now. |
thanks |
fixes: #12014
replaces: #13461