mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fix: bugs
This commit is contained in:
@ -3,10 +3,8 @@ const fs = require('fs');
|
||||
const pino = require('pino');
|
||||
const cheerio = require('cheerio');
|
||||
const { fetch } = require('bun');
|
||||
const { readFileSync } = require('node:fs');
|
||||
const distDir = path.join(__dirname, 'dist');
|
||||
const indexPath = path.join(distDir, 'index.html');
|
||||
const logo = 'https://test.appflowy.com/appflowy.svg';
|
||||
|
||||
const setOrUpdateMetaTag = ($, selector, attribute, content) => {
|
||||
if ($(selector).length === 0) {
|
||||
@ -94,7 +92,7 @@ const createServer = async (req) => {
|
||||
const description = 'Write, share, and publish docs quickly on AppFlowy.\nGet started for free.';
|
||||
let title = 'AppFlowy';
|
||||
const url = 'https://appflowy.io';
|
||||
let image = logo;
|
||||
let image = 'https://d3uafhn8yrvdfn.cloudfront.net/website/production/_next/static/media/og-image.e347bfb5.png';
|
||||
|
||||
try {
|
||||
// Inject meta data into the HTML to support SEO and social sharing
|
||||
|
Reference in New Issue
Block a user