https://kotlinlang.org logo
#vertx
Title
# vertx
e

eddy_wm

11/29/2017, 4:52 PM
I have set a route to serve uploaded image files
router.get("/file-uploads/*").handler(StaticHandler.create())
. Vert.X is failing to serve the files with this error message Resource not found, even though a correct image URL was provided.
n

napperley

11/29/2017, 8:33 PM
You need to use router.route function instead of router.get.