File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -159,8 +159,8 @@ github.com/gammazero/toposort v0.1.1 h1:OivGxsWxF3U3+U80VoLJ+f50HcPU1MIqE1JlKzoJ
159159github.com/gammazero/toposort v0.1.1 /go.mod h1:H2cozTnNpMw0hg2VHAYsAxmkHXBYroNangj2NTBQDvw =
160160github.com/gigawattio/window v0.0.0-20180317192513-0f5467e35573 h1:u8AQ9bPa9oC+8/A/jlWouakhIvkFfuxgIIRjiy8av7I =
161161github.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 =
164164github.com/gin-contrib/sessions v1.0.4 h1:ha6CNdpYiTOK/hTp05miJLbpTSNfOnFg5Jm2kbcqy8U =
165165github.com/gin-contrib/sessions v1.0.4 /go.mod h1:ccmkrb2z6iU2osiAHZG3x3J4suJK+OU27oqzlWOqQgs =
166166github.com/gin-contrib/sse v1.1.0 h1:n0w2GMuUpWDVp7qSpvze6fAu9iRxJY4Hmj6AmBOU05w =
Original file line number Diff line number Diff 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
405405func serveCheckAuth (ginServer * gin.Engine ) {
You can’t perform that action at this time.
0 commit comments