fix bug encode config

This commit is contained in:
dongpd 2020-06-10 14:34:31 +07:00
parent d3bf129a2a
commit ec8728d856

View File

@ -252,7 +252,7 @@ class ConfigController extends Controller {
'content' => json_encode([
'path' => $engineConfig['data']['engines'][0]['path'],
'config' => $engineConfig,
'configEngine' => $config_json
'configEngine' => json_encode($config_json, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE)
])
]
]));