Skip to content

Commit

Permalink
update port
Browse files Browse the repository at this point in the history
  • Loading branch information
microchipgnu committed Jan 22, 2025
1 parent 1ab354b commit a087f6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export async function startUIServer(
// Serve config endpoint
app.get("/api/config", async (req, res) => {
try {
const specUrl = `${req.protocol}://${req.hostname}/.well-known/ai-plugin.json`;
const specUrl = `${req.protocol}://${req.hostname}:${apiConfig.serverPort}/.well-known/ai-plugin.json`;
const specResponse = await fetch(specUrl);
const spec = await specResponse.json();

Expand Down

0 comments on commit a087f6f

Please sign in to comment.