From 8bd1df539f9f28923af63755a3f07ccd2bb134c5 Mon Sep 17 00:00:00 2001 From: Kilu Date: Sat, 29 Jun 2024 01:07:14 +0800 Subject: [PATCH] fix: deploy --- frontend/appflowy_web_app/nginx.conf | 2 +- frontend/appflowy_web_app/server.cjs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/appflowy_web_app/nginx.conf b/frontend/appflowy_web_app/nginx.conf index c955b7519e..bb4fa10fef 100644 --- a/frontend/appflowy_web_app/nginx.conf +++ b/frontend/appflowy_web_app/nginx.conf @@ -38,7 +38,7 @@ http { # Existing server block for HTTP server { - listen 80; + listen 3000; server_name localhost; location / { diff --git a/frontend/appflowy_web_app/server.cjs b/frontend/appflowy_web_app/server.cjs index 22e2f85712..9d0457c4ba 100644 --- a/frontend/appflowy_web_app/server.cjs +++ b/frontend/appflowy_web_app/server.cjs @@ -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(``);