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
6f98a4e5
Commit
6f98a4e5
authored
Nov 30, 2015
by
Liang Ding
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
独立模式默认启动监听 8080 端口
parent
dfe8402e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
src/main/java/org/b3log/solo/Starter.java
src/main/java/org/b3log/solo/Starter.java
+2
-2
src/main/resources/latke.properties
src/main/resources/latke.properties
+2
-2
No files found.
src/main/java/org/b3log/solo/Starter.java
View file @
6f98a4e5
...
@@ -39,7 +39,7 @@ import org.eclipse.jetty.webapp.WebAppContext;
...
@@ -39,7 +39,7 @@ import org.eclipse.jetty.webapp.WebAppContext;
* </ul>
* </ul>
*
*
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @version 1.0.0.
3, Nov 29
, 2015
* @version 1.0.0.
4, Nov 30
, 2015
* @since 1.2.0
* @since 1.2.0
*/
*/
public
final
class
Starter
{
public
final
class
Starter
{
...
@@ -69,7 +69,7 @@ public final class Starter {
...
@@ -69,7 +69,7 @@ public final class Starter {
String
portArg
=
commandLine
.
getOptionValue
(
"p"
);
String
portArg
=
commandLine
.
getOptionValue
(
"p"
);
if
(!
Strings
.
isNumeric
(
portArg
))
{
if
(!
Strings
.
isNumeric
(
portArg
))
{
portArg
=
"
909
0"
;
portArg
=
"
808
0"
;
}
}
logger
.
info
(
"Standalone mode, see [https://github.com/b3log/solo/wiki/standalone_mode] for more details."
);
logger
.
info
(
"Standalone mode, see [https://github.com/b3log/solo/wiki/standalone_mode] for more details."
);
...
...
src/main/resources/latke.properties
View file @
6f98a4e5
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
#
#
# Description: B3log Latke configurations. Configures the section "Server" carefully.
# Description: B3log Latke configurations. Configures the section "Server" carefully.
# Version: 1.3.2.
7, Nov 29
, 2015
# Version: 1.3.2.
8, Nov 30
, 2015
# Author: Liang Ding
# Author: Liang Ding
#
#
...
@@ -26,7 +26,7 @@ serverScheme=http
...
@@ -26,7 +26,7 @@ serverScheme=http
# Browser visit domain name
# Browser visit domain name
serverHost
=
localhost
serverHost
=
localhost
# Browser visit port, 80 as usual, THIS IS NOT SERVER LISTEN PORT!
# Browser visit port, 80 as usual, THIS IS NOT SERVER LISTEN PORT!
serverPort
=
80
serverPort
=
80
80
# Note: The context path and static path should be "" (empty string) if deploy Solo on ROOT directory
# Note: The context path and static path should be "" (empty string) if deploy Solo on ROOT directory
# (e.g. ${tomcat}/webapps/ROOT/). For other cases, starts with '/' and not ends with '/', for example, /blog
# (e.g. ${tomcat}/webapps/ROOT/). For other cases, starts with '/' and not ends with '/', for example, /blog
contextPath
=
contextPath
=
...
...
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