fix(diffs): harden viewer security and docs
This commit is contained in:
@@ -42,6 +42,10 @@
|
||||
"defaults.mode": {
|
||||
"label": "Default Output Mode",
|
||||
"help": "Tool default when mode is omitted. Use view for canvas/gateway viewer, image for PNG, or both."
|
||||
},
|
||||
"security.allowRemoteViewer": {
|
||||
"label": "Allow Remote Viewer",
|
||||
"help": "Allow non-loopback access to diff viewer URLs when the token path is known."
|
||||
}
|
||||
},
|
||||
"configSchema": {
|
||||
@@ -101,6 +105,16 @@
|
||||
"default": "both"
|
||||
}
|
||||
}
|
||||
},
|
||||
"security": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"allowRemoteViewer": {
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user