Skip to content
This repository has been archived by the owner on Feb 21, 2023. It is now read-only.

Commit

Permalink
fixed image preview not work in release
Browse files Browse the repository at this point in the history
  • Loading branch information
imlinhanchao committed Nov 10, 2021
1 parent 63c68ff commit 1bfc91a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/block/windows/window.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class Windows {

const winURL = process.env.NODE_ENV === 'development' ?
`http://localhost:9080/#${url}` :
`file://${__dirname}/index.html#/${url}`
`file://${__dirname}/index.html#${url}`

this.window.loadURL(winURL, {
httpReferrer:"https://pwl.icu/"
Expand Down

0 comments on commit 1bfc91a

Please sign in to comment.