mirror of
https://github.com/bendtherules/ask262.git
synced 2026-08-18 13:21:55 +00:00
style(server): reformat
This commit is contained in:
@@ -284,7 +284,10 @@ export async function main() {
|
|||||||
|
|
||||||
// MCP Inspector at root path - auto-connects to /mcp
|
// MCP Inspector at root path - auto-connects to /mcp
|
||||||
// Mounted AFTER /mcp so specific routes take precedence
|
// Mounted AFTER /mcp so specific routes take precedence
|
||||||
const mcpPublicUrl = process.env.COOLIFY_URL || process.env.MCP_PUBLIC_URL || `http://localhost:${PORT}`;
|
const mcpPublicUrl =
|
||||||
|
process.env.COOLIFY_URL ||
|
||||||
|
process.env.MCP_PUBLIC_URL ||
|
||||||
|
`http://localhost:${PORT}`;
|
||||||
mountInspector(app, {
|
mountInspector(app, {
|
||||||
autoConnectUrl: `${mcpPublicUrl}/mcp`,
|
autoConnectUrl: `${mcpPublicUrl}/mcp`,
|
||||||
devMode: process.env.NODE_ENV !== "production",
|
devMode: process.env.NODE_ENV !== "production",
|
||||||
|
|||||||
Reference in New Issue
Block a user