@mastra/deployer 0.15.2 → 0.15.3-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/server/index.cjs
CHANGED
|
@@ -10190,7 +10190,8 @@ async function createHonoServer(mastra, options = {
|
|
|
10190
10190
|
const serverOptions = mastra.getServer();
|
|
10191
10191
|
const port = serverOptions?.port ?? (Number(process.env.PORT) || 4111);
|
|
10192
10192
|
const host = serverOptions?.host ?? "localhost";
|
|
10193
|
-
indexHtml = indexHtml.replace(`'%%
|
|
10193
|
+
indexHtml = indexHtml.replace(`'%%MASTRA_SERVER_HOST%%'`, `'${host}'`);
|
|
10194
|
+
indexHtml = indexHtml.replace(`'%%MASTRA_SERVER_PORT%%'`, `'${port}'`);
|
|
10194
10195
|
return c2.newResponse(indexHtml, 200, { "Content-Type": "text/html" });
|
|
10195
10196
|
}
|
|
10196
10197
|
return c2.newResponse(html2, 200, { "Content-Type": "text/html" });
|