Commit 26bcec3
authored
Edge redirect function enhancements (#410)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
## Release Notes
* **Chores**
* Updated domain configuration for URL redirect routing
* Refined slug mapping logic to handle single-part hostnames
* **Tests**
* Added comprehensive test coverage for redirect functionality,
including edge cases, fallback behavior, path handling, and cache
control validation
<!-- end of auto-generated comment: release notes by coderabbit.ai -->1 parent c5760df commit 26bcec3
File tree
2 files changed
+482
-3
lines changed- src/linkryEdgeFunction
- tests/unit/linkryEdgeFunction
2 files changed
+482
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
19 | 23 | | |
20 | 24 | | |
21 | 25 | | |
| |||
37 | 41 | | |
38 | 42 | | |
39 | 43 | | |
40 | | - | |
41 | | - | |
| 44 | + | |
42 | 45 | | |
43 | 46 | | |
44 | 47 | | |
| |||
0 commit comments