Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
solo-1
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
solo-1
Commits
0a230408
Unverified
Commit
0a230408
authored
Nov 18, 2019
by
Liang Ding
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐛
Fix #12947
parent
a19f4367
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
11 deletions
+4
-11
src/main/java/org/b3log/solo/Server.java
src/main/java/org/b3log/solo/Server.java
+2
-2
src/main/java/org/b3log/solo/util/Solos.java
src/main/java/org/b3log/solo/util/Solos.java
+1
-7
src/main/resources/solo.properties
src/main/resources/solo.properties
+1
-2
No files found.
src/main/java/org/b3log/solo/Server.java
View file @
0a230408
...
...
@@ -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
;
...
...
src/main/java/org/b3log/solo/util/Solos.java
View file @
0a230408
...
...
@@ -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
{
...
...
src/main/resources/solo.properties
View file @
0a230408
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment