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
0d0cbf4f
Unverified
Commit
0d0cbf4f
authored
Apr 05, 2018
by
Liang Ding
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🔥
删除独立模式下冗余的 Latke ·初始化代码
parent
6089f6aa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
src/main/java/org/b3log/solo/Starter.java
src/main/java/org/b3log/solo/Starter.java
+1
-3
No files found.
src/main/java/org/b3log/solo/Starter.java
View file @
0d0cbf4f
...
...
@@ -37,7 +37,7 @@ import java.net.URI;
* </ul>
*
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @version 1.1.0.1
1, Mar 11
, 2018
* @version 1.1.0.1
2, Apr 5
, 2018
* @since 1.2.0
*/
public
final
class
Starter
{
...
...
@@ -145,10 +145,8 @@ public final class Starter {
if
(
null
!=
runtimeMode
)
{
Latkes
.
setRuntimeMode
(
Latkes
.
RuntimeMode
.
valueOf
(
runtimeMode
));
}
Latkes
.
setScanPath
(
"org.b3log.solo"
);
// For Latke IoC
logger
.
info
(
"Standalone mode, see https://github.com/b3log/solo/issues/12037 for more details."
);
Latkes
.
initRuntimeEnv
();
String
webappDirLocation
=
"src/main/webapp/"
;
// POM structure in dev env
final
File
file
=
new
File
(
webappDirLocation
);
...
...
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