From 19a80a8131cf09b054b60ceb424c4019ca4904f5 Mon Sep 17 00:00:00 2001 From: Halflight Date: Fri, 30 Aug 2024 10:11:07 +0800 Subject: [PATCH] Use jsonc for JSON blocks that have comments --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cdfb225..1f6a7e6 100644 --- a/README.md +++ b/README.md @@ -144,7 +144,7 @@ Sec-Session-Response: registration JWT ``` The JWT is signed with the newly created private key, and needs to contain the following values (the public key is in the [JWK](https://datatracker.ietf.org/doc/html/rfc7517) format): -```json +```jsonc // Header { "alg": "Signature Algorithm", @@ -173,7 +173,7 @@ Cache-Control: no-store Set-Cookie: auth_cookie=abcdef0123; Domain=example.com; Max-Age=600; Secure; HttpOnly; ``` -```json +```jsonc { "session_identifier": "session_id", "refresh_url": "/RefreshEndpoint",