Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for mappedpath #24

Merged
merged 1 commit into from
Mar 31, 2012
Merged

Fix for mappedpath #24

merged 1 commit into from
Mar 31, 2012

Conversation

gausby
Copy link
Contributor

@gausby gausby commented Mar 24, 2012

Jeg havde et problem, hvor livestyle altid ville fjerne det første char, når den lavede en mapped path. Dette resulterede i, at den forsøgte at servere, for eksempel siden, /mappe/tyle/import.css i stedet for /mappe/style/import.css.

Jeg løste problemet ved at teste for en '/' i starten af strengen, og kun cutte den væk i det tilfælde.

…ath, even if it wasnt a forward slash, which would result in a path to a nonexistent file.
papandreou added a commit that referenced this pull request Mar 31, 2012
@papandreou papandreou merged commit b083fc0 into One-com:master Mar 31, 2012
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.

None yet

2 participants