mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fix: deploy
This commit is contained in:
@ -38,7 +38,7 @@ http {
|
||||
|
||||
# Existing server block for HTTP
|
||||
server {
|
||||
listen 80;
|
||||
listen 3000;
|
||||
server_name localhost;
|
||||
|
||||
location / {
|
||||
|
@ -5,7 +5,7 @@ const cheerio = require('cheerio');
|
||||
const { fetch } = require('bun');
|
||||
const distDir = path.join(__dirname, 'dist');
|
||||
const indexPath = path.join(distDir, 'index.html');
|
||||
const logo = path.join(distDir, 'appflowy.svg');
|
||||
const logo = '/appflowy.svg';
|
||||
const setOrUpdateMetaTag = ($, selector, attribute, content) => {
|
||||
if ($(selector).length === 0) {
|
||||
$('head').append(`<meta ${attribute}="${selector.match(/\[(.*?)\]/)[1]}" content="${content}">`);
|
||||
|
Reference in New Issue
Block a user