Framework updates
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -250,6 +250,14 @@ class Spa {
|
||||
const parsed = Spa.parse_url(url);
|
||||
let path = parsed.path;
|
||||
|
||||
// Strip portal prefix if in portal context
|
||||
if (Rsx_Portal.is_portal() && !Rsx_Portal.has_dedicated_domain()) {
|
||||
const prefix = Rsx_Portal.get_prefix();
|
||||
if (path.startsWith(prefix)) {
|
||||
path = path.substring(prefix.length) || '/';
|
||||
}
|
||||
}
|
||||
|
||||
// Normalize path - remove leading/trailing slashes for matching
|
||||
path = path.substring(1); // Remove leading /
|
||||
|
||||
|
||||
Reference in New Issue
Block a user