Closes #239 Server interface and relay fallbacks (#251) Feature: - Add default server `.env` - Server service - health checks, retry and fallback - Server context, provider, and hooks - Server pagination component - Apply server code and fallbacks to blogs, feed, profile, mods, game, games, and search page - Add `popular` games fetch General: - bump`axios` package version to `1.8.2` - refactor: use `NDKKind` instead of nostr-tools kinds - fix: blogs filter for unmoderated and only_blocked - refactor: profile tabs into separate components - refactor: settings page router/layout code - fix: submit mod games selector ordering of the results - fix: mods filtering with author (`isOwnProfile`) checks
23 lines
1.1 KiB
Plaintext
23 lines
1.1 KiB
Plaintext
# This relay will be used to publish/retrieve events along with other relays (user's relays, admin relays)
|
|
VITE_APP_RELAY=wss://relay.degmods.com
|
|
|
|
# A comma separated list of npubs, Relay list will be extracted for these npubs and this relay list will be used to publish event
|
|
VITE_ADMIN_NPUBS= <A comma separated list of npubs>
|
|
|
|
# A dedicated npub used for reporting mods, blogs, profile and etc.
|
|
VITE_REPORTING_NPUB= <npub1...>
|
|
|
|
# A dedicated npub used for site WOT.
|
|
VITE_SITE_WOT_NPUB= <npub1...>
|
|
|
|
# if there's no featured image, or if the image breaks somewhere down the line, then it should default to this image
|
|
VITE_FALLBACK_MOD_IMAGE=https://image.nostr.build/1fa7afd3489302c2da8957993ac0fd6c4308eedd4b1b95b24ecfabe3651b2183.png
|
|
|
|
# if there's no image, or if the image breaks somewhere down the line, then it should default to this image
|
|
VITE_FALLBACK_GAME_IMAGE=https://image.nostr.build/1fa7afd3489302c2da8957993ac0fd6c4308eedd4b1b95b24ecfabe3651b2183.png
|
|
|
|
# A comma separated list of npubs, this list is used to fetch just the posts from the admin
|
|
VITE_BLOG_NPUBS= <A comma separated list of npubs>
|
|
|
|
VITE_DEFAULT_SERVER=http://localhost:3000
|