Die GitLab-Projekt-API liefert einem nicht eingeloggten Aufrufer nur star_count und forks_count - open_issues_count gibt es dort nur mit Session. site.js hat es trotzdem gelesen und damit "undefined" in die Kachel geschrieben. Die Zahl steht stattdessen im X-Total-Header des Issues-Endpunkts, und GitLab fuehrt den in Access-Control-Expose-Headers, der Browser darf ihn also lesen. Schlaegt der Aufruf fehl, bleibt der Platzhalter stehen statt einer leeren Kachel.
opengym.duarte-santos.ch
Source of the project website — plain hand-written HTML/CSS/JS, no build step, served by nginx.
Not in this folder (added at deploy time):
img/— the five screenshots from../assets/screenshots/plusbanner.pngicon-180.png/icon-512.png— copied from../frontend/public/(the same icons the PWA uses, so the browser tab, home screen and app all match)openGym.apk— the signed release build (see../docs/MOBILE.md)demo/— the browser-only demo build of the app, embedded in the#demosection and reachable on its own at/demo/. Built from../frontendwithVITE_DEMO=1and the jsDelivr media bases (see thepagesjob in../.gitlab-ci.yml), so the ~140 MB of exercise media stays out of it. It has to live on this host: the site frames it, andX-Frame-Options: SAMEORIGINwould block it from anywhere else.
site.js fetches the star/issue counts and the release timeline from the public
gitlab.com API at view time. It pointed at api.github.com until that account was
suspended; the two URLs go back once it is restored, together with the notice
block at the top of index.html and the demo iframe.