Skip to content
This repository has been archived by the owner on Dec 27, 2020. It is now read-only.

Rewrite JS replace to detect the "goto" function #3

Open
martonlederer opened this issue Sep 27, 2020 · 0 comments
Open

Rewrite JS replace to detect the "goto" function #3

martonlederer opened this issue Sep 27, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@martonlederer
Copy link
Member

Right now the references.ts JS replacer adds "/"+window.location.href.split('/')[3]+ before all route strings. This can cause unwanted behavior.

A solution to this could be to smart-detect the actual goto function located in the client.<randomid>.js file and modify it to auto add "/"+window.location.href.split('/')[3]+ before all redirects.

This is not priority, and should be addressed in v2

@martonlederer martonlederer added the enhancement New feature or request label Sep 27, 2020
@martonlederer martonlederer self-assigned this Sep 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant