rouzer 1.0.0-beta.10 → 1.0.0-beta.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16,7 +16,7 @@ export function createRouter(config) {
16
16
  return new RegExp(`^${origin
17
17
  .replace(/\./g, '\\.')
18
18
  .replace(/\*:/g, '[^:]+:') // Wildcard protocol
19
- .replace(/\*\./g, '([^/.]+\\.)?') // Wildcard subdomain
19
+ .replace(/\*\\\./g, '([^/]+\\.)?') // Wildcard subdomain
20
20
  }$`);
21
21
  }
22
22
  return new ExactPattern(origin);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rouzer",
3
- "version": "1.0.0-beta.10",
3
+ "version": "1.0.0-beta.12",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {