mirror of
https://github.com/duckietm/Nitro-V3.git
synced 2026-06-19 15:06:20 +00:00
🆙 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:
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user