Files
welshman/docs/app/context.md
T
2025-04-09 11:17:12 -07:00

14 lines
491 B
Markdown

# Application Context
The `@welshman/app` package uses a global context system to configure a few core behaviors.
## Dufflepud
[Dufflepud](https://github.com/coracle-social/dufflepud) is a utility server that can retrieve NIP 05 profiles, zappers, relay metadata, link previews, etc. It's not necessary for using welshman, but can improve things by bypassing CORS.
```typescript
import {appContext} from '@welshman/app'
appContext.dufflepudUrl = 'https://my-dufflepud-instance.com'
```