From 8708a94d5d3a4386aab561c1eda539586a1e4675 Mon Sep 17 00:00:00 2001 From: Xie Yanbo Date: Mon, 26 Oct 2020 16:53:12 +0800 Subject: [PATCH] fix custom setting error (#100) --- src/prologue/core/nativesettings.nim | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/prologue/core/nativesettings.nim b/src/prologue/core/nativesettings.nim index bba6a3d72..0054f5f33 100644 --- a/src/prologue/core/nativesettings.nim +++ b/src/prologue/core/nativesettings.nim @@ -71,8 +71,7 @@ func newSettings*( "appName": appName}}) else: var data = data - data["secretKey"] = %* secretKey - data["appName"] = %* appName + data["prologue"] = %* {"secretKey": secretKey, "appName": appName} result = Settings(address: address, port: port, debug: debug, reusePort: reusePort, bufSize: bufSize,