Examples using other middlewares like :static show a trailing slash in the URL prefix, but apparently it breaks :mount. The aref in line 20 of mount.lisp gets off by 1 if the slash is there, and only exact matching works in that case.
My little example below shows the problem. /test/foo hits main, /test/ hits sub. Ideally, the inclusion or disinclusion of trailing slash would be either both supported, or consistent between middlewares/examples.
Examples using other middlewares like :static show a trailing slash in the URL prefix, but apparently it breaks :mount. The aref in line 20 of mount.lisp gets off by 1 if the slash is there, and only exact matching works in that case.
My little example below shows the problem. /test/foo hits main, /test/ hits sub. Ideally, the inclusion or disinclusion of trailing slash would be either both supported, or consistent between middlewares/examples.
Thanks!