From 51990554d1cfa8514d1441dc560d2c2f34b96168 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Tue, 27 Sep 2022 00:17:13 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E8=AE=BE=E7=BD=AE=E8=AE=BF=E9=97=AE?= =?UTF-8?q?=E6=8E=88=E6=9D=83=E7=A0=81=E5=90=8E=E6=97=A0=E6=B3=95=E5=AF=BC?= =?UTF-8?q?=E5=87=BA=20PDF=20https://github.com/siyuan-note/siyuan/issues/?= =?UTF-8?q?5959?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel/api/export.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/api/export.go b/kernel/api/export.go index 379c6949b..35e343b56 100644 --- a/kernel/api/export.go +++ b/kernel/api/export.go @@ -209,7 +209,7 @@ func exportTempContent(c *gin.Context) { } url := path.Join("/export/temp/", filepath.Base(p)) ret.Data = map[string]interface{}{ - "url": url, + "url": "http://127.0.0.1:" + util.ServerPort + url, } }