Skip to content

Commit

Permalink
⬆️
Browse files Browse the repository at this point in the history
  • Loading branch information
hellokaton committed Mar 26, 2018
1 parent 9f887be commit f53b189
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
12 changes: 11 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<sqlite.version>3.21.0.1</sqlite.version>
<blade-mvc.version>2.0.7-beta1</blade-mvc.version>
<blade-mvc.version>2.0.7-beta2</blade-mvc.version>
<anima.version>0.0.7</anima.version>
<blade-tpl.verion>0.1.2</blade-tpl.verion>
<blade-validator>0.0.2</blade-validator>
Expand Down Expand Up @@ -116,6 +116,9 @@
<profiles>
<profile>
<id>prod</id>
<properties>
<profiles.active>prod</profiles.active>
</properties>
<build>
<resources>
<resource>
Expand All @@ -130,6 +133,13 @@
</profile>
<profile>
<id>dev</id>
<properties>
<profiles.active>dev</profiles.active>
</properties>
<activation>
<!-- Set to activate this configuration by default -->
<activeByDefault>true</activeByDefault>
</activation>
<build>
<resources>
<resource>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/tale/Application.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
public class Application {

public static void main(String[] args) throws Exception {
public static void main(String[] args) {
Blade blade = Blade.me();
TaleLoader.init(blade);
blade.use(new ValidatorMiddleware(), new CsrfMiddleware()).start(Application.class, args);
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/app.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ mvc.statics=/upload
app.support_163_music=true
app.support_gist=true
com.blade.logger.org.sql2o=debug
com.blade.logger.logFile=./logs/tale.log
com.blade.logger.logFile=./logs/tale.log

0 comments on commit f53b189

Please sign in to comment.