> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.itential.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.itential.com/_mcp/server.

# Serving UI directories

> How to configure the uiDirectories property in pronghorn.json to control which static files Itential Platform serves.

## uiDirectories property

For all services with a user interface (UI) that serve static files, the `uiDirectories` property is required at the root level of the `pronghorn.json` file. This property is a list of top-level directory names; only files within those directories are served by Itential Platform.

The default method for serving static files is through `uiDirectories`. If the property does not exist, all static files are served. Once the property is present, only files within the specified directories are served — no other files are accessible.

## Example

In the following example, all files within the `build`, `img`, and `icon` directories are served by Itential Platform. No other files will be served.

```json
{
    "id": "@itential/app-test",
    "uiDirectories": ["build", "img", "icon"],
    "encrypted": true,
    "src": "cog.bing",
    "type": "Application",
    "export": "test",
    "title": "test",
    "summary": "Test",
    "pdb": true,
    "roles": ["admin", "engineering", "support", "apiread", "apiwrite"],
    "methods": [],
    "views": []
}
```