Add root configuration to processPing response

- Include the root path from the configuration in the response of the processPing function to provide additional context for the engine's state.
This commit is contained in:
Max 2026-02-07 12:32:32 +08:00
parent 898ba7d4fd
commit fa664b7db7

View file

@ -31,6 +31,7 @@ func processPing(process *process.Process) interface{} {
res := map[string]interface{}{
"engine": share.BUILDNAME,
"version": share.VERSION,
"root": config.Conf.Root,
}
return res
}