Skip to content

Conversation

Eliasyoussef47
Copy link
Contributor

@Eliasyoussef47 Eliasyoussef47 commented Apr 6, 2022

I need this addition to prevent any accidental trailing slashes in the prefix variable.
I might use this package this way:

<meta name="asset-url" content="{{ asset('') }}">

and the asset() helper function from Laravel generates a trailing slash (a slash at the end of the url).

@stevethomas
Copy link
Member

Looks good! Thanks for contributing.

@stevethomas stevethomas merged commit 0208889 into codinglabsau:master Apr 7, 2022
@Eliasyoussef47 Eliasyoussef47 deleted the remove_trailing_slashes_from_prefix branch April 16, 2022 14:27
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.

2 participants