add BEAMMP_PROVIDER_PORT_ENV to allow provider to change which ENV

variable the port is fetched from
This commit is contained in:
Lion Kortlepel
2023-12-30 11:30:48 +01:00
parent 03d91b1f4d
commit 6f50cad76b
3 changed files with 9 additions and 1 deletions

View File

@@ -36,6 +36,9 @@ std::string_view Env::ToString(Env::Key key) {
case Key::PROVIDER_DISABLE_CONFIG:
return "BEAMMP_PROVIDER_DISABLE_CONFIG";
break;
case Key::PROVIDER_PORT_ENV:
return "BEAMMP_PROVIDER_PORT_ENV";
break;
}
return "";
}