1
This commit is contained in:
@@ -3,7 +3,7 @@ param(
|
||||
[Alias("h")]
|
||||
[switch]$Help,
|
||||
[string]$ApiHost = "127.0.0.1",
|
||||
[int]$Port = 3000,
|
||||
[int]$Port = 3100,
|
||||
[string]$Log = "info,tower_http=info"
|
||||
)
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ if [[ ! -f "${SERVER_RS_DIR}/Cargo.toml" ]]; then
|
||||
fi
|
||||
|
||||
export GENARRATIVE_API_HOST="${GENARRATIVE_API_HOST:-127.0.0.1}"
|
||||
export GENARRATIVE_API_PORT="${GENARRATIVE_API_PORT:-3000}"
|
||||
export GENARRATIVE_API_PORT="${GENARRATIVE_API_PORT:-3100}"
|
||||
export GENARRATIVE_API_LOG="${GENARRATIVE_API_LOG:-info,tower_http=info}"
|
||||
|
||||
echo "[server-rs:dev] 工作目录: ${SERVER_RS_DIR}"
|
||||
|
||||
Reference in New Issue
Block a user