Open svengau opened 6 years ago
Hi,
it would be nice to have an option to exclude some words from the slug generation. For example, with contact, blog, help:
testSchema.plugin(URLSlugs('username', exclude: ["contact", "blog", "help"]));
If you like it, I will try to propose a pull request for that.
Yes, sure looks like a good idea.
Here is the PR: https://github.com/talha-asad/mongoose-url-slugs/pull/40 thanks
Hi,
it would be nice to have an option to exclude some words from the slug generation. For example, with contact, blog, help:
If you like it, I will try to propose a pull request for that.