Return null when no runtime config
cgen-f9e0c111db284e4c82fa16a1a6f92d1f
This commit is contained in:
parent
e45e1244b8
commit
8268593592
1 changed files with 1 additions and 1 deletions
|
|
@ -197,7 +197,7 @@ const getRuntimeConfig = () => {
|
|||
|
||||
const getAgentSrc = () => {
|
||||
const cfg = getRuntimeConfig();
|
||||
return cfg?.src ?? SKIP_AGENT_SRC;
|
||||
return cfg?.src ?? (SKIP_AGENT_SRC ? SKIP_AGENT_SRC : null);
|
||||
};
|
||||
|
||||
const getAgentId = () => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue