Some update configurations

This commit is contained in:
Namhyeon Go 2024-08-20 09:49:03 +09:00
parent 68d100458f
commit 80b3e49cb8
3 changed files with 4 additions and 2 deletions

View File

@ -29,7 +29,7 @@ namespace WelsonJS.Service
try try
{ {
// Get the GRPC server URL from settings // 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 // Set the GRPC channel
channel = GrpcChannel.ForAddress(grpcServerAddress); channel = GrpcChannel.ForAddress(grpcServerAddress);

View File

@ -1,11 +1,13 @@
[Default] [Default]
JSCRIPT_ENV=development ;development or production JSCRIPT_ENV=development ;development or production
CHATGPT_APIKEY=file:data/chatgpt-apikey.txt 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. NONFREE_STRICT=false ;User consent may be required when using third-party software with an EULA license.
[Service] [Service]
DISABLE_SCREEN_TIME=false DISABLE_SCREEN_TIME=false
DISABLE_FILE_MONITOR=false DISABLE_FILE_MONITOR=false
GRPC_HOST=http://localhost:50051
ES_HOST=http://localhost:9200 ES_HOST=http://localhost:9200
ES_USER=elastic ES_USER=elastic
ES_PASSWORD=changeme ES_PASSWORD=changemes