Skip to content

Commit

Permalink
🐛 Fix #1
Browse files Browse the repository at this point in the history
  • Loading branch information
88250 committed Dec 2, 2019
1 parent b8189e8 commit 9e44ef4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/org/b3log/symphony/Server.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
* Server.
*
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @version 2.0.0.1, Nov 12, 2019
* @version 2.0.1.0, Dec 1, 2019
* @since 3.4.8
*/
public final class Server extends BaseServer {
Expand Down Expand Up @@ -139,7 +139,7 @@ public static void main(final String[] args) {

String serverScheme = commandLine.getOptionValue("server_scheme");
if (null != serverScheme) {
Latkes.setLatkeProperty("serveScheme", serverScheme);
Latkes.setLatkeProperty("serverScheme", serverScheme);
}
String serverHost = commandLine.getOptionValue("server_host");
if (null != serverHost) {
Expand Down Expand Up @@ -239,6 +239,6 @@ public static void main(final String[] args) {
Symphonys.SCHEDULED_EXECUTOR_SERVICE.shutdown();
Symphonys.EXECUTOR_SERVICE.shutdown();
}));
server.start(Integer.valueOf(portArg));
server.start(Integer.parseInt(portArg));
}
}

0 comments on commit 9e44ef4

Please sign in to comment.