-
-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
I have a csv file inside my svelteKit static folder, to read it I had to configure svelte.config.js by adding parameters to the server object. The project runs correctly with npm run dev, and allows me to create npm run dev successfully. The problem is when I run the electron application, because it does not recognize the url of the fetch that refers to the csv file.
The error is as follows: electron: Failed to load URL: file:///C:/parse with error: ERR_FILE_NOT_FOUND
I know it must be a routing configuration and I appreciate any help you can give me.
PD: The csv file is in the static folder so that when the build is done the file is part of the output of the build. I assumed that this way it will be correct.
Metadata
Metadata
Assignees
Labels
No labels