Commit 0a230408 authored by Liang Ding's avatar Liang Ding

🐛 Fix #12947

parent a19f4367
......@@ -46,7 +46,7 @@ import org.json.JSONObject;
* Server.
*
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @version 2.0.0.4, Nov 16, 2019
* @version 2.0.0.5, Nov 18, 2019
* @since 1.2.0
*/
public final class Server extends BaseServer {
......@@ -174,7 +174,7 @@ public final class Server extends BaseServer {
if (null != runtimeMode) {
Latkes.setRuntimeMode(Latkes.RuntimeMode.valueOf(runtimeMode));
}
String luteHttp = commandLine.getOptionValue("lute");
String luteHttp = commandLine.getOptionValue("lute_http");
if (null != luteHttp) {
Markdowns.LUTE_ENGINE_URL = luteHttp;
Markdowns.LUTE_AVAILABLE = true;
......
......@@ -46,7 +46,7 @@ import java.util.*;
* Solo utilities.
*
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @version 1.9.0.3, Nov 4, 2019
* @version 1.9.0.4, Nov 18, 2019
* @since 2.8.0
*/
public final class Solos {
......@@ -90,12 +90,6 @@ public final class Solos {
}
FAVICON_API = solo.getString("faviconAPI");
try {
Markdowns.LUTE_ENGINE_URL = solo.getString("luteHttp");
} catch (final Exception e) {
// ignored
}
}
static {
......
......@@ -18,9 +18,8 @@
#
# Description: Solo configurations.
# Version: 2.6.0.0, Sep 22, 2019
# Version: 2.6.0.1, Nov 18, 2019
# Author: Liang Ding
#
faviconAPI=https://api.byi.pw/favicon?url=
luteHttp=http://localhost:8249
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment