1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-30 11:37:44 +00:00

Prefer lib.strings.toJSON

This commit is contained in:
RGBCube 2024-04-30 12:56:08 +03:00
parent c734c4b06c
commit 0928319c38
No known key found for this signature in database

View file

@ -11,7 +11,7 @@ let
wellKnownResponse = data: '' wellKnownResponse = data: ''
default_type application/json; default_type application/json;
add_header Access-Control-Allow-Origin *; add_header Access-Control-Allow-Origin *;
return 200 '${builtins.toJSON data}'; return 200 '${strings.toJSON data}';
''; '';
clientConfig."m.homeserver".base_url = "https://${chatDomain}"; clientConfig."m.homeserver".base_url = "https://${chatDomain}";