# recipes/uploads/backend/modules/static/Files.ts

One file of [`recipes/uploads`](/docs/recipes/uploads), at commit `9a5bb24`.

```ts
// The static battery's configuration: the directory its 404 page is in. It is here to show the
// order rule: listed after `uploads`, it never sees `/files/<id>`.

export const config = {
	dir: process.env.AWEFT_SITE_DIR ?? 'dist',
};
```
