Skip to content

Commit b45ee97

Browse files
authored
Merge pull request #1625 from silentoplayz/docs/static-dir-default
docs: correct the STATIC_DIR default and say Open WebUI resets it at startup
2 parents dfc8a25 + 4b21511 commit b45ee97

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎docs/reference/env-configuration.mdx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1330,8 +1330,8 @@ Open WebUI reuses a single long-lived AIOHTTP client session for outbound HTTP t
13301330
#### `STATIC_DIR`
13311331

13321332
- Type: `str`
1333-
- Default: `./static`
1334-
- Description: Specifies the directory for static files, such as the favicon.
1333+
- Default: `backend/open_webui/static` (in the Docker image, `/app/backend/open_webui/static`)
1334+
- Description: Specifies the directory Open WebUI serves its bundled static assets from. At every startup Open WebUI deletes the files at the top level of this directory, copies the bundled assets back in, and overwrites `favicon.png`, `splash.png` and `loader.js`, so files you place or replace there do not survive a restart. The logo and favicon are covered by the [Open WebUI License](/license).
13351335

13361336
### Logging
13371337

0 commit comments

Comments
 (0)