🆙 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",
This commit is contained in:
duckietm
2026-05-08 11:58:32 +02:00
parent fa3bb7b9ac
commit 6124610736
5 changed files with 214 additions and 80 deletions
-20
View File
@@ -1,20 +0,0 @@
{
"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"
}
]
}
@@ -58,6 +58,8 @@
"login.server_key.endpoint": "${api.url}/api/auth/server-key",
"login.sso-token.endpoint": "${api.url}/api/auth/sso-token",
"login.refresh.endpoint": "${api.url}/api/auth/refresh",
"login.health.method": "GET",
"login.news.url": "${asset.url}/news/news.json",
"badges.custom.list.endpoint": "${api.url}/api/badges/custom",
"badges.custom.create.endpoint": "${api.url}/api/badges/custom",
"badges.custom.update.endpoint": "${api.url}/api/badges/custom/%badgeId%",