Skip to content

Commit 8d8f55e

Browse files
committed
Merge remote-tracking branch 'origin/dev' into dev
2 parents b089982 + 5fb1fcc commit 8d8f55e

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

app/electron/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ const initMainWindow = () => {
352352
}).then((response) => {
353353
setProxy(`${response.data.proxy.scheme}://${response.data.proxy.host}:${response.data.proxy.port}`, currentWindow.webContents).then(() => {
354354
// 加载主界面
355-
currentWindow.loadURL(getServer() + "/stage/build/app/index.html?v=" + new Date().getTime());
355+
currentWindow.loadURL(getServer() + "/stage/build/app/?v=" + new Date().getTime());
356356
});
357357
});
358358

kernel/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ require (
3030
github.com/flopp/go-findfont v0.1.0
3131
github.com/fsnotify/fsnotify v1.9.0
3232
github.com/gabriel-vasile/mimetype v1.4.10
33-
github.com/gin-contrib/gzip v1.2.4
33+
github.com/gin-contrib/gzip v1.2.3
3434
github.com/gin-contrib/sessions v1.0.4
3535
github.com/gin-contrib/sse v1.1.0
3636
github.com/gin-gonic/gin v1.11.0

kernel/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,8 @@ github.com/gammazero/toposort v0.1.1 h1:OivGxsWxF3U3+U80VoLJ+f50HcPU1MIqE1JlKzoJ
159159
github.com/gammazero/toposort v0.1.1/go.mod h1:H2cozTnNpMw0hg2VHAYsAxmkHXBYroNangj2NTBQDvw=
160160
github.com/gigawattio/window v0.0.0-20180317192513-0f5467e35573 h1:u8AQ9bPa9oC+8/A/jlWouakhIvkFfuxgIIRjiy8av7I=
161161
github.com/gigawattio/window v0.0.0-20180317192513-0f5467e35573/go.mod h1:eBvb3i++NHDH4Ugo9qCvMw8t0mTSctaEa5blJbWcNxs=
162-
github.com/gin-contrib/gzip v1.2.4 h1:yNz4EhPC2kHSZJD1oc1zwp7MLEhEZ3goQeGM3a1b6jU=
163-
github.com/gin-contrib/gzip v1.2.4/go.mod h1:aomRgR7ftdZV3uWY0gW/m8rChfxau0n8YVvwlOHONzw=
162+
github.com/gin-contrib/gzip v1.2.3 h1:dAhT722RuEG330ce2agAs75z7yB+NKvX/ZM1r8w0u2U=
163+
github.com/gin-contrib/gzip v1.2.3/go.mod h1:ad72i4Bzmaypk8M762gNXa2wkxxjbz0icRNnuLJ9a/c=
164164
github.com/gin-contrib/sessions v1.0.4 h1:ha6CNdpYiTOK/hTp05miJLbpTSNfOnFg5Jm2kbcqy8U=
165165
github.com/gin-contrib/sessions v1.0.4/go.mod h1:ccmkrb2z6iU2osiAHZG3x3J4suJK+OU27oqzlWOqQgs=
166166
github.com/gin-contrib/sse v1.1.0 h1:n0w2GMuUpWDVp7qSpvze6fAu9iRxJY4Hmj6AmBOU05w=

kernel/server/serve.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ func serveAppearance(ginServer *gin.Engine) {
399399
c.File(filePath)
400400
})
401401

402-
siyuan.Static("/stage/", filepath.Join(util.WorkingDir, "stage"))
402+
siyuan.Static("/stage", filepath.Join(util.WorkingDir, "stage"))
403403
}
404404

405405
func serveCheckAuth(ginServer *gin.Engine) {

0 commit comments

Comments
 (0)