fix: deploy

This commit is contained in:
Kilu
2024-06-29 01:07:14 +08:00
parent 1c0992ed58
commit 8bd1df539f
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ http {
# Existing server block for HTTP
server {
listen 80;
listen 3000;
server_name localhost;
location / {

View File

@ -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}">`);