Serve file from inside compiled directory
Hey, I am currently trying to compile a simple WebApp that consists of a simple html, css and js file.
Inside my index.ts file is just a simple serveDir from the std library. When I try to compile my app using deno compile, the server is unable to find files from the directory that I included when compiling.
This is my server.ts file:
The server is running inside a Worker file.
Here is the full sourcecode: https://github.com/DenoPlayground/Template-GUI/blob/main/src/server/index.ts
Maybe I am missing something,
Thanks
GitHub
Template-GUI/src/server/index.ts at main · DenoPlayground/Template...
Project Template for Deno Desktop Apps. Contribute to DenoPlayground/Template-GUI development by creating an account on GitHub.
0 Replies