@lvce-editor/main-process 4.4.0 → 4.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mainProcessMain.js +1 -1
- package/package.json +1 -1
package/dist/mainProcessMain.js
CHANGED
|
@@ -4201,7 +4201,7 @@ const getElectronFileResponseConfig = async (url, request) => {
|
|
|
4201
4201
|
const relative = url.slice(scheme.length + 4);
|
|
4202
4202
|
const actual = relative === '/' ? '/index.html' : relative;
|
|
4203
4203
|
const match = files[actual];
|
|
4204
|
-
if (
|
|
4204
|
+
if (match === undefined) {
|
|
4205
4205
|
return new Response('Not Found', {
|
|
4206
4206
|
status: 404
|
|
4207
4207
|
});
|