Skip to content

Commit

Permalink
fix: applets internal endpoint protocol is autodetected (#220)
Browse files Browse the repository at this point in the history
  • Loading branch information
matteo-cristino authored Jun 20, 2024
1 parent d8d01ec commit f45c90b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ const generateRoutes = (app: TemplatedApp) => {
schema: JSON.stringify(schema),
title: path || 'Welcome 🥳 to ',
description: contract,
endpoint: `http://${config.hostname}:${config.port}${path}`
endpoint: `//${config.hostname}:${config.port}${path}`
});

res.writeStatus('200 OK').writeHeader('Content-Type', 'text/html').end(result);
Expand Down

0 comments on commit f45c90b

Please sign in to comment.