Skip to content

Relative path calculation on the backend#175

Open
gogiel wants to merge 3 commits into
dejan:masterfrom
gogiel:relative-path
Open

Relative path calculation on the backend#175
gogiel wants to merge 3 commits into
dejan:masterfrom
gogiel:relative-path

Conversation

@gogiel
Copy link
Copy Markdown
Collaborator

@gogiel gogiel commented Jun 14, 2020

Related to #171

It aims to replace normalizePath filter which:

  • doesn't work well if path includes /app/
  • doesn't support files in other directories, like lib/

filter('normalizePath', function() {
return function(input) {
return input.remove(/.*\/app\//);
}
}).

Frontend changes are backward compatible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant