mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-12 01:54:38 -05:00
Where is index.html after npm run build?
#5
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @coolaj86 on GitHub (Oct 21, 2023).
I'm not a Svelte dev.
I ran
npm run buildand I saw that./build/was generated.I was expecting this to be the directory to serve from my webserver.
However, I can't find
index.htmlthere.... or anywhere:How do I create the directory that I serve with my webserver?
@tjbck commented on GitHub (Oct 21, 2023):
Hi,
In SvelteKit with @sveltejs/adapter-node, the entry point for the server is the "index.js" file, not an "index.html" file. This is by design, and you can run the server by executing the following command in the repository directory:
The "index.js" file handles server initialization and rendering the UI. If you have any further questions or need assistance, please don't hesitate to ask.