@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.
@@ -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 (!match) {
4204
+ if (match === undefined) {
4205
4205
  return new Response('Not Found', {
4206
4206
  status: 404
4207
4207
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/main-process",
3
- "version": "4.4.0",
3
+ "version": "4.5.0",
4
4
  "keywords": [
5
5
  "lvce-editor",
6
6
  "electron"