mirror of
https://github.com/gnh1201/welsonjs.git
synced 2024-11-26 15:31:42 +00:00
Some update configurations
This commit is contained in:
parent
68d100458f
commit
80b3e49cb8
|
@ -29,7 +29,7 @@ namespace WelsonJS.Service
|
|||
try
|
||||
{
|
||||
// Get the GRPC server URL from settings
|
||||
string grpcServerAddress = this.parent.GetSettingsFileHandler().Read("GRPC_SERVER_ADDRESS");
|
||||
string grpcServerAddress = this.parent.GetSettingsFileHandler().Read("GRPC_HOST", "Service");
|
||||
|
||||
// Set the GRPC channel
|
||||
channel = GrpcChannel.ForAddress(grpcServerAddress);
|
||||
|
|
|
@ -1,11 +1,13 @@
|
|||
[Default]
|
||||
JSCRIPT_ENV=development ;development or production
|
||||
CHATGPT_APIKEY=file:data/chatgpt-apikey.txt
|
||||
WINDIVERT_CONFIG_FILE=data/windivert.config.json ;for network debugging
|
||||
NONFREE_STRICT=false ;User consent may be required when using third-party software with an EULA license.
|
||||
|
||||
[Service]
|
||||
DISABLE_SCREEN_TIME=false
|
||||
DISABLE_FILE_MONITOR=false
|
||||
GRPC_HOST=http://localhost:50051
|
||||
ES_HOST=http://localhost:9200
|
||||
ES_USER=elastic
|
||||
ES_PASSWORD=changeme
|
||||
ES_PASSWORD=changemes
|
Loading…
Reference in New Issue
Block a user