MCPcopy Create free account
hub / github.com/ding113/claude-code-hub / isNextDevMode

Function isNextDevMode

server.js:29–31  ·  view source on GitHub ↗
(nodeEnv)

Source from the content-addressed store, hash-verified

27const { parse } = require("node:url");
28
29function isNextDevMode(nodeEnv) {
30 return nodeEnv !== "production";
31}
32
33// 保留既有本地语义:只有显式 production 才服务已构建产物;Docker/K8s
34// 镜像会显式设置 NODE_ENV=production 和 PORT=3000。

Callers 2

server.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected