Skip to content

Commit

Permalink
vars are neat
Browse files Browse the repository at this point in the history
  • Loading branch information
tipsy committed Jan 3, 2024
1 parent a09a3e1 commit 04fb102
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
public class JavalinJettySessionExampleApp {
public static void main(String[] args) {

Javalin app = Javalin.create(config -> {
var app = Javalin.create(config -> {
config.jetty.modifyServletContextHandler(handler -> handler.setSessionHandler(fileSessionHandler()));
config.bundledPlugins.enableRouteOverview("/");
}).start(7070);
Expand Down
12 changes: 12 additions & 0 deletions javalin6/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,18 @@
<module>javalinvue-example/javalinvue2-example</module>
<module>javalinvue-example/javalinvue3-example</module>
</modules>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>16</source>
<target>16</target>
</configuration>
</plugin>
</plugins>
</build>

<profiles>
<profile>
Expand Down

0 comments on commit 04fb102

Please sign in to comment.