-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow no rest mappings to be supplied #116
Comments
Looks like I added a value check for that a while back, you can pass it an empty string now I believe. |
@denuno Nope. I just tried it and if I provide an empty string for the rest mapping, then the default rest mappings kick in. I don't want there to be any rest mapping by default unless the user explicitly configures them. --servlet-rest-mappings "" [INFO ] runwar.server: Overriding web.xml rest mappings with [/rest]
[INFO ] runwar.server: Added rest mapping: /rest to CFRestServlet |
Does |
Nope, that doesn't seem to do it. With this JVM arg in place:
I see this in the console logs:
|
I've had a hacky workaround in place ever since the
--servlet-rest-mappings
arg was added in:I don't recall the error right off, but I'd like to be able to just omit the
--servlet-rest-mappings
when none are specified (which is the default in CommandBox)The text was updated successfully, but these errors were encountered: