In restify 1.4 the following statement:
server.get('/:apiversion/:bucket', getList);
used to respond to both http://localhost/v1/records and http://localhost/v1/records/
In version 2.0, this no longer works by default, and in the little bit of trouble shooting I've done so far, I can't even seem to explicitly make it happen:
server.get('/:apiversion/:bucket/', getList);
server.get('/:apiversion/:bucket', getList);
Am I missing something really obvious here, or does restify no longer support trailing slashes on paths?
In restify 1.4 the following statement:
used to respond to both http://localhost/v1/records and http://localhost/v1/records/
In version 2.0, this no longer works by default, and in the little bit of trouble shooting I've done so far, I can't even seem to explicitly make it happen:
Am I missing something really obvious here, or does restify no longer support trailing slashes on paths?