Files
Nitro-V3/Content-Gamedata/news/news.json
T
duckietm 6124610736 🆙 Small fix Avatar loading & moved news to path wich you can enter
The example data has been provided in /Content-Gamedata so you could place it in /gamadata or anything you like.
Do not forget the render-config.json to update :

"login.health.method": "GET",
"login.news.url": "${asset.url}/news/news.json",
2026-05-08 11:58:32 +02:00

21 lines
763 B
JSON

{
"news": [
{
"id": 1,
"title": "Welcome to Nitro local mode",
"body": "This news card is loaded from public/configuration/news.json while yarn start is running.",
"image": "${image.library.url}web_promo_small/spromo_Canal_Bundle.png",
"link": "",
"linkText": "Read more"
},
{
"id": 2,
"title": "Local development ready",
"body": "API and socket use localhost:2096. Remote assets and gamedata stay available so you do not need to copy the full client folder locally.",
"image": "${image.library.url}web_promo_small/spromo_hween12_vampire.png",
"link": "",
"linkText": "Ok"
}
]
}