We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Add ability to declare a variable as scrubbed using this lib - https://github.com/tommymessbauer/url-seo-scrubber.
In the example, the param title has the property seo:true so a title like dogs:cats? would be cleaned up and turned into the url /post/1234/dogs-cats
seo:true
"post": { "method": "GET", "name": "post", "path": "/post/:title", "description": "Blog post", "handler": "blogpost", "params": { "id": { "kind": "rest", "regex": "(\\d+)", "default": "", "enabled": true }, "title": { "kind": "rest", "regex": "(.*)", "default": "", "enabled": true, "seo": true } }, "enabled": true }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Add ability to declare a variable as scrubbed using this lib - https://github.com/tommymessbauer/url-seo-scrubber.
In the example, the param title has the property
seo:true
so a title like dogs:cats? would be cleaned up and turned into the url /post/1234/dogs-catsThe text was updated successfully, but these errors were encountered: