import image to package for use
This commit is contained in:
parent
5dd452bec0
commit
cbdb2ec9a6
2 changed files with 1 additions and 1 deletions
BIN
res/themes/riot/img/logos/opengraph.png
Normal file
BIN
res/themes/riot/img/logos/opengraph.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 16 KiB |
|
@ -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://about.riot.im/images/opengraph.png';
|
||||
if (!og_image_url) og_image_url = 'https://riot.im/app/themes/riot/img/logos/opengraph.png';
|
||||
|
||||
module.exports = (env, argv) => {
|
||||
if (process.env.CI_PACKAGE) {
|
||||
|
|
Loading…
Reference in a new issue