mirror of
https://github.com/Nezumi-2711/9router.git
synced 2026-09-22 20:00:47 +00:00
Fix : noAuth support for providers and adjusted MITM restart settings.
This commit is contained in:
@@ -865,7 +865,7 @@ export default function ProviderDetailPage() {
|
||||
<h2 className="text-lg font-semibold">Connections</h2>
|
||||
<div className="flex items-center gap-4">
|
||||
{/* Thinking config */}
|
||||
{/* {thinkingConfig && (
|
||||
{thinkingConfig && (
|
||||
<div className="flex items-center gap-2">
|
||||
<span className="text-xs text-text-muted font-medium">Thinking</span>
|
||||
<select
|
||||
@@ -878,7 +878,7 @@ export default function ProviderDetailPage() {
|
||||
))}
|
||||
</select>
|
||||
</div>
|
||||
)} */}
|
||||
)}
|
||||
{/* Round Robin toggle */}
|
||||
<div className="flex items-center gap-2">
|
||||
<span className="text-xs text-text-muted font-medium">Round Robin</span>
|
||||
|
||||
@@ -5,7 +5,7 @@ export async function GET() {
|
||||
try {
|
||||
const settings = await getSettings();
|
||||
const requireLogin = settings.requireLogin !== false;
|
||||
const tunnelDashboardAccess = settings.tunnelDashboardAccess === true;
|
||||
const tunnelDashboardAccess = settings.tunnelDashboardAccess !== false;
|
||||
const tunnelUrl = settings.tunnelUrl || "";
|
||||
const tailscaleUrl = settings.tailscaleUrl || "";
|
||||
return NextResponse.json({ requireLogin, tunnelDashboardAccess, tunnelUrl, tailscaleUrl });
|
||||
|
||||
Reference in New Issue
Block a user