Useful one-app
specific server routes:
-
GET
/_/status
: Basic health check for theone-app
server, always returns200
. -
POST
/_/report/security/csp-violation
: Can be provided to thereport-uri
directive to have CSP violations reported back to theone-app
server. Do not hard code this,instead use the ONE_CLIENT_CSP_REPORTING_URL environment variable. While this is helpful during development we recommended that you report to another server to reduce load on theone-app
server when running in production. -
POST
/_/report/errors
: Can be used to report client errors to theone-app
server. Do not hard code this, instead use theONE_CLIENT_REPORTING_URL
environment variable. While this is helpful during development we recommended that you report to another server to reduce load on theone-app
server when running in production.