mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-25 06:16:40 +00:00
Adjust default to prefix
This commit is contained in:
@@ -589,7 +589,7 @@ export default function ReverseProxyTargets(props: {
|
|||||||
return (
|
return (
|
||||||
<div className="flex gap-2 min-w-[200px] items-center">
|
<div className="flex gap-2 min-w-[200px] items-center">
|
||||||
<Select
|
<Select
|
||||||
defaultValue={row.original.pathMatchType || "exact"}
|
defaultValue={row.original.pathMatchType || "prefix"}
|
||||||
onValueChange={(value) =>
|
onValueChange={(value) =>
|
||||||
updateTarget(row.original.targetId, {
|
updateTarget(row.original.targetId, {
|
||||||
...row.original,
|
...row.original,
|
||||||
@@ -601,8 +601,8 @@ export default function ReverseProxyTargets(props: {
|
|||||||
<SelectValue />
|
<SelectValue />
|
||||||
</SelectTrigger>
|
</SelectTrigger>
|
||||||
<SelectContent>
|
<SelectContent>
|
||||||
<SelectItem value="exact">Exact</SelectItem>
|
|
||||||
<SelectItem value="prefix">Prefix</SelectItem>
|
<SelectItem value="prefix">Prefix</SelectItem>
|
||||||
|
<SelectItem value="exact">Exact</SelectItem>
|
||||||
<SelectItem value="regex">Regex</SelectItem>
|
<SelectItem value="regex">Regex</SelectItem>
|
||||||
</SelectContent>
|
</SelectContent>
|
||||||
</Select>
|
</Select>
|
||||||
|
|||||||
@@ -557,7 +557,7 @@ export default function Page() {
|
|||||||
return (
|
return (
|
||||||
<div className="flex gap-2 min-w-[200px] items-center">
|
<div className="flex gap-2 min-w-[200px] items-center">
|
||||||
<Select
|
<Select
|
||||||
defaultValue={row.original.pathMatchType || "exact"}
|
defaultValue={row.original.pathMatchType || "prefix"}
|
||||||
onValueChange={(value) =>
|
onValueChange={(value) =>
|
||||||
updateTarget(row.original.targetId, {
|
updateTarget(row.original.targetId, {
|
||||||
...row.original,
|
...row.original,
|
||||||
@@ -569,8 +569,8 @@ export default function Page() {
|
|||||||
<SelectValue />
|
<SelectValue />
|
||||||
</SelectTrigger>
|
</SelectTrigger>
|
||||||
<SelectContent>
|
<SelectContent>
|
||||||
<SelectItem value="exact">Exact</SelectItem>
|
|
||||||
<SelectItem value="prefix">Prefix</SelectItem>
|
<SelectItem value="prefix">Prefix</SelectItem>
|
||||||
|
<SelectItem value="exact">Exact</SelectItem>
|
||||||
<SelectItem value="regex">Regex</SelectItem>
|
<SelectItem value="regex">Regex</SelectItem>
|
||||||
</SelectContent>
|
</SelectContent>
|
||||||
</Select>
|
</Select>
|
||||||
|
|||||||
Reference in New Issue
Block a user