Skip to content

Commit df5a60b

Browse files
committed
docs: frontend architecture
1 parent f63d25a commit df5a60b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/docs/ARCHITECTURE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ You should take care to implement [accessibility](https://angular.dev/best-pract
5858

5959
The backend emits content security policy HTTP headers. They are very strict and aim at avoiding XSS attacks and stealing user data/credentials. This may have impact on developing the frontend. However, instead of relaxing rules you should aim at making the frontend code compliant with those secrity rules.
6060

61-
The application supports strict content-security-policies **_WITHOUT_** unsafe-\*. We do so by letting the backend insert every request to the frontend a random nonce (see [backend documentation9](../../backend/docs/CONFIGURE.md)) that is included by the frontend to protect the scripts by using Angulars [ngCspNonce](https://angular.dev/best-practices/security#content-security-policy) mechanism (first one).
61+
The application supports strict content-security-policies **_WITHOUT_** unsafe-\*. We do so by letting the backend insert every request to the frontend a random nonce (see [backend documentation](../../backend/docs/CONFIGURE.md)) that is included by the frontend to protect the scripts by using Angulars [ngCspNonce](https://angular.dev/best-practices/security#content-security-policy) mechanism (first one).
6262

6363
For that we defined a placeholder "${cspNonce}" in [index.html](../src/index.html) that is replaced by a random nonce by the backend on every request.
6464

0 commit comments

Comments
 (0)