Skip to content

kontraktor-http only addition

Compare
Choose a tag to compare
@RuedigerMoeller RuedigerMoeller released this 18 Sep 15:50
· 785 commits to trunk since this release
  • allow to specify a base dir when defining a resourcepath. Previously "." default could not be changed

example

        Http4K.Build(options.webHost, options.webPort)
            .resourcePath("/")
                .elements("../src/main/web/client", "../src/main/web/comps", "../src/main/web/bower_components")
                .baseDir("/home/ruedi/project/stuff/")
                .build()
            .httpAPI("/myapp/api", app)
            .build();