-
I am really liking this package so far but I have ran into an issue when dealing with serving static files or returning them in the response. It looks like instead of searching for the files in the same directory as the Julia file, it instead looks in another directory which results in the file not being found. In this code snippet the Julia file is being run in the directory /home/user/Documents/svelte/api/backend, and instead it looks for the file in the directory that I was testing the demo in.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hey zapif, thanks for using this package! Did you launch the julia repl from /home/user/Documents/svelte/api/backend ? At the moment, you can only host static files from inside the same project directory. If you were using the same repl session as the one to test the demo, then that file would be way outside the current project directory |
Beta Was this translation helpful? Give feedback.
Hey zapif, thanks for using this package!
Did you launch the julia repl from /home/user/Documents/svelte/api/backend ? At the moment, you can only host static files from inside the same project directory. If you were using the same repl session as the one to test the demo, then that file would be way outside the current project directory