mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-03-11 02:47:37 +03:00
34 lines
739 B
TypeScript
34 lines
739 B
TypeScript
|
|
import type { SectionConfigOverrides } from "./types";
|
||
|
|
|
||
|
|
const proxy: SectionConfigOverrides = {
|
||
|
|
base: {
|
||
|
|
sectionDocs: "/configuration/authentication#proxy",
|
||
|
|
restartRequired: [],
|
||
|
|
fieldOrder: [
|
||
|
|
"header_map",
|
||
|
|
"logout_url",
|
||
|
|
"auth_secret",
|
||
|
|
"default_role",
|
||
|
|
"separator",
|
||
|
|
],
|
||
|
|
advancedFields: ["header_map", "auth_secret", "separator"],
|
||
|
|
liveValidate: true,
|
||
|
|
uiSchema: {
|
||
|
|
logout_url: {
|
||
|
|
"ui:options": { size: "lg" },
|
||
|
|
},
|
||
|
|
auth_secret: {
|
||
|
|
"ui:options": { size: "md" },
|
||
|
|
},
|
||
|
|
header_map: {
|
||
|
|
"ui:after": { render: "ProxyRoleMap" },
|
||
|
|
},
|
||
|
|
"header_map.role_map": {
|
||
|
|
"ui:widget": "hidden",
|
||
|
|
},
|
||
|
|
},
|
||
|
|
},
|
||
|
|
};
|
||
|
|
|
||
|
|
export default proxy;
|