File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 22* core: logger(name) is now accessible without a class instance context
33* core: Any.logger() will now take the closest non-anonymous superclass
44* server: errors.on<SomeException >(StatusCode) convenience reified function added
5+ * server: AssetsHandler will now allow serving of SPA index.html even if requested directory in assets exists
56* jdbc: BaseCrudRepository.list() and by() now both have the suffix parameter
67* jdbc: handle Postgres "cached plan must not change result type" exception by enabling autosave=conservative by default
78
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ open class AssetsHandler(
3232 if (! file.startsWith(path)) throw ForbiddenException (exchange.path)
3333 if (file.isDirectory()) file / = indexFile
3434 if (! file.exists()) {
35- if (useIndexForUnknownPaths && ! file.name .contains(" ." )) file = path / indexFile
35+ if (useIndexForUnknownPaths && ! exchange.path .contains(" ." )) file = path / indexFile
3636 else throw NotFoundException (exchange.path)
3737 }
3838 send(exchange, file)
You can’t perform that action at this time.
0 commit comments