Let hoortrend.com and the portfolio show demo-app's facts live (CORS)
hoortrend.com and the portfolio are going to put demo-app forward, with its version, pod, node and uptime read live from /api/info.
-
CORS:
/api/infoand/healthzsendAccess-Control-Allow-Originforhttps://hoortrend.comandhttps://portfolio.ilyes-litim.fronly. The list can be changed withALLOWED_ORIGINS. Both routes also sendVary: Origin. - Not shared: the page itself, and any other origin.
-
Test (10 in total now): both origins allowed, an unknown origin refused,
/never shared.