@@ -36,7 +36,7 @@ const MCPDetailPage: React.FC = () => {
3636 const navigate = useNavigate ( ) ;
3737 const [ activeTab , setActiveTab ] = useState ( 'config' ) ;
3838 const [ mcpData , setMcpData ] = useState < any > ( null ) ;
39- const [ apiGatewayUrl , setApiGatewayUrl ] = useState ( 'https ://<higress-gateway-ip>' ) ;
39+ const [ apiGatewayUrl , setApiGatewayUrl ] = useState ( 'http ://<higress-gateway-ip>' ) ;
4040 const [ authEnabled , setAuthEnabled ] = useState ( false ) ;
4141 const [ tools , setTools ] = useState < any [ ] > ( [ ] ) ;
4242 const [ editToolVisible , setEditToolVisible ] = useState ( false ) ;
@@ -73,7 +73,7 @@ const MCPDetailPage: React.FC = () => {
7373 const domainProtocol = domain ?. enableHttps === 'off' ? 'http' : 'https' ;
7474 setApiGatewayUrl ( `${ domainProtocol } ://${ domain ?. name } ` ) ;
7575 } else {
76- setApiGatewayUrl ( 'https ://<higress-gateway-ip>' ) ;
76+ setApiGatewayUrl ( 'http ://<higress-gateway-ip>' ) ;
7777 }
7878 }
7979 } catch ( error ) {
@@ -265,10 +265,10 @@ const MCPDetailPage: React.FC = () => {
265265 < Card title = { t ( 'mcp.detail.endpointInfo' ) } bordered style = { { marginTop : 16 } } >
266266 < Descriptions column = { 2 } >
267267 < Descriptions . Item label = { t ( 'mcp.detail.sseEndpoint' ) } >
268- { `${ apiGatewayUrl || 'https ://<higress-gateway-ip>' } /mcp-servers/${ name } /sse` }
268+ { `${ apiGatewayUrl || 'http ://<higress-gateway-ip>' } /mcp-servers/${ name } /sse` }
269269 </ Descriptions . Item >
270270 < Descriptions . Item label = { t ( 'mcp.detail.httpEndpoint' ) } >
271- { `${ apiGatewayUrl || 'https ://<higress-gateway-ip>' } /mcp-servers/${ name } ` }
271+ { `${ apiGatewayUrl || 'http ://<higress-gateway-ip>' } /mcp-servers/${ name } ` }
272272 </ Descriptions . Item >
273273 </ Descriptions >
274274 </ Card >
@@ -413,7 +413,7 @@ const MCPDetailPage: React.FC = () => {
413413 />
414414 </ div >
415415
416- { apiGatewayUrl !== 'https ://<higress-gateway-ip>' && (
416+ { apiGatewayUrl !== 'http ://<higress-gateway-ip>' && (
417417 < div >
418418 < div style = { { fontWeight : 'bold' , marginBottom : 8 } } > { t ( 'mcp.detail.step2' ) } </ div >
419419 < div style = { { background : '#f7f9fa' , padding : 16 , borderRadius : 4 } } >
0 commit comments