Replace string interpolation with urljoin() in static asset URL generation
to properly normalize URLs when staticUrl config has trailing slash.
Previously URLs like https://static.ce-cdn.net//vendor.v57...css were
generated due to string interpolation not handling URL normalization.
Changes:
- Use urljoin(staticRoot, path) instead of `${staticRoot}/${path}`
- Add comprehensive tests for trailing slash scenarios
- Maintain backward compatibility with existing configs
Fixes production CDN loading issues introduced in PR #7681.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>