mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Replace opengraph og:image
This commit is contained in:
parent
a73a02fad1
commit
e7f3fb9254
Binary file not shown.
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 62 KiB |
@ -6,7 +6,7 @@ const OptimizeCSSAssetsPlugin = require('optimize-css-assets-webpack-plugin');
|
|||||||
const webpack = require("webpack");
|
const webpack = require("webpack");
|
||||||
|
|
||||||
let og_image_url = process.env.RIOT_OG_IMAGE_URL;
|
let og_image_url = process.env.RIOT_OG_IMAGE_URL;
|
||||||
if (!og_image_url) og_image_url = 'https://app.element.io/themes/element/img/logos/opengraph.png';
|
if (!og_image_url) og_image_url = 'https://app.schildi.chat/themes/element/img/logos/opengraph.png';
|
||||||
|
|
||||||
module.exports = (env, argv) => {
|
module.exports = (env, argv) => {
|
||||||
if (process.env.CI_PACKAGE) {
|
if (process.env.CI_PACKAGE) {
|
||||||
|
Loading…
Reference in New Issue
Block a user