mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 21:21:10 +02:00
feat(status-page): add ManaCore to app registry + fix mana.how badge
Add ManaCore as first entry in MANA_APPS so the dashboard at mana.how gets a tier badge. Map mana.how → manacore and inventar → inventory in subdomain aliases. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
6d5d5283b7
commit
f9514dec83
2 changed files with 23 additions and 4 deletions
|
|
@ -176,10 +176,12 @@ get_tier_badge() {
|
|||
subdomain="${subdomain%/health}"
|
||||
# API-Subdomains skippen (z.B. todo-api, chat-api)
|
||||
case "$subdomain" in *-api) return ;; esac
|
||||
# Spezialfall: mana.how selbst → manacore (kein Tier)
|
||||
[ "$subdomain" = "mana.how" ] && return
|
||||
# Subdomain-Aliase (alte Subdomains → aktuelle App-IDs)
|
||||
case "$subdomain" in manadeck) subdomain="cards" ;; esac
|
||||
# Subdomain-Aliase (Sonderfälle + alte Subdomains → aktuelle App-IDs)
|
||||
case "$subdomain" in
|
||||
mana.how) subdomain="manacore" ;;
|
||||
manadeck) subdomain="cards" ;;
|
||||
inventar) subdomain="inventory" ;;
|
||||
esac
|
||||
|
||||
echo "$TIER_APPS" | while IFS='|' read -r id name tier st; do
|
||||
[ "$id" = "$subdomain" ] || continue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue