@operato/utils
Advanced tools
Comparing version 9.0.0-beta.37 to 9.0.0-beta.38
@@ -6,2 +6,11 @@ # Change Log | ||
## [9.0.0-beta.38](https://github.com/hatiolab/operato/compare/v9.0.0-beta.37...v9.0.0-beta.38) (2025-02-02) | ||
### :rocket: New Features | ||
* support domain-type for context-aware multi-tenancy ([4ac819a](https://github.com/hatiolab/operato/commit/4ac819a2a88785551480c0d6248e10e80e265946)) | ||
## [9.0.0-beta.37](https://github.com/hatiolab/operato/compare/v9.0.0-beta.36...v9.0.0-beta.37) (2025-02-01) | ||
@@ -8,0 +17,0 @@ |
@@ -15,2 +15,3 @@ /** | ||
domain: string; | ||
subdomain: string; | ||
path: string | undefined; | ||
@@ -17,0 +18,0 @@ }; |
@@ -6,3 +6,3 @@ /** | ||
*/ | ||
var CONTEXT_PATH_PREFIX = 'domain|business'; | ||
var CONTEXT_PATH_PREFIX = 'domain'; | ||
/** | ||
@@ -29,2 +29,3 @@ * Parses the given pathname and extracts information about the contextPath, prefix, domain, and path. | ||
domain, | ||
subdomain: domain, | ||
path | ||
@@ -39,5 +40,5 @@ }; | ||
export function setContextPathPrefix(contextPathPrefix) { | ||
console.log('context-path-prefix was just set to ', `'${contextPathPrefix || 'domain|business'}'`); | ||
CONTEXT_PATH_PREFIX = contextPathPrefix || 'domain|business'; | ||
console.log('context-path-prefix was just set to ', `'${contextPathPrefix || 'domain'}'`); | ||
CONTEXT_PATH_PREFIX = contextPathPrefix || 'domain'; | ||
} | ||
//# sourceMappingURL=context-path.js.map |
@@ -5,3 +5,3 @@ { | ||
"author": "heartyoh", | ||
"version": "9.0.0-beta.37", | ||
"version": "9.0.0-beta.38", | ||
"type": "module", | ||
@@ -132,3 +132,3 @@ "main": "dist/src/index.js", | ||
}, | ||
"gitHead": "211abb6b1f1d2de4fa37c695fd6779650978efd9" | ||
"gitHead": "1aee9817426f6479e390723082309e65e433d79d" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
313324
2501