James, thanks.
Applying prefix in main routes file a la
-> /prefix routes.Subproject
does the same-ish thing, just trying to hack in a non-standard use case: router
accepts
/prefix/path/to/foo
but reverse router generates
/path/to/foo
and then front end web server proxies
/path/to/foo
to play with
/prefix/path/to/foo
Looks like not possible so will take another approach.
Side note: it would be nice if subproject routes syntax supported variable placeholder/regex. For example, this compiles but just appends regex as a String:
this would be useful when you have a bunch of subproject routes that all take a dynamic prefix like
/:fooId/bar/:baz controllers.foo.Foo.index(fooId: FooId, baz: String)
...
...
/:fooId controllers.foo.Foo.index(fooId: FooId)
Anyway, routing has improved tremendously -- global reverse router is awesome -- just trying to squeeze a bit more functionality out of current status quo.