This repository has been archived by the owner on Feb 22, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 248
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(resource_url_resolver): Makes resolved URLs absolute
Makes resolved type URLs absolute instead of relative. When they are relative it is difficult to reuse components. Using pub serve relative URLs are resolved because pub does some magic to allow add symlinks to the packages directory where needed. In production relative URLs make it difficult to add file handlers to the locations that are needed, as the location will be determined based on the current browser path or route. It also makes the template cache harder to populate because the same resource may need to be served from two separate URLs. Closes #1599
- Loading branch information
Showing
4 changed files
with
15 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters