Added quotes to live.yaml.

This commit is contained in:
Raphaël Numbus
2026-05-25 17:04:37 +02:00
parent 50f624e9e4
commit f989dd8f3a
+7 -2
View File
@@ -53,7 +53,7 @@
console.log("Discovery started with:", data);
const payload = {
internationalisation: {
internationalization: {
language: data[1].language,
country: data[1].country,
time_zone: data[1].timeZone
@@ -77,7 +77,12 @@
const response = await fetch('/discovery', {
method: 'POST',
headers: { 'Content-Type': 'text/yaml' },
body: jsyaml.dump(payload, { quotingType: '"', forceQuotes: true })
body: jsyaml.dump(payload, {
quotingType: '"',
styles: {
'!!str': 'double'
}
})
});
if (response.ok) {