mirror of
https://github.com/langchain-ai/langgraphjs-api.git
synced 2026-07-19 21:33:46 -04:00
fix(dev): set PORT env var
This commit is contained in:
@@ -24,6 +24,9 @@ const isTracingEnabled = () => {
|
||||
|
||||
const options = StartServerSchema.parse(JSON.parse(payload));
|
||||
|
||||
// Export PORT to the environment
|
||||
process.env.PORT = options.port.toString();
|
||||
|
||||
const [{ host, cleanup }, organizationId] = await Promise.all([
|
||||
startServer(options),
|
||||
(async () => {
|
||||
|
||||
Reference in New Issue
Block a user