Skip to content
This repository was archived by the owner on May 3, 2024. It is now read-only.

Latest commit

 

History

History
14 lines (8 loc) · 1.32 KB

Routes.md

File metadata and controls

14 lines (8 loc) · 1.32 KB

👈 Return to Overview

Server Routes

Useful one-app specific server routes:

  • GET /_/status: Basic health check for the one-app server, always returns 200.

  • POST /_/report/security/csp-violation: Can be provided to the report-uri directive to have CSP violations reported back to the one-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 the one-app server when running in production.

  • POST /_/report/errors: Can be used to report client errors to the one-app server. Do not hard code this, instead use the ONE_CLIENT_REPORTING_URL environment variable. While this is helpful during development we recommended that you report to another server to reduce load on the one-app server when running in production.