-
Notifications
You must be signed in to change notification settings - Fork 243
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
optimizer: Do not append rtv/{rtv}/ to ampUrlPrefix (#517)
* optimizer: Do not append rtv/{rtv}/ to ampUrlPrefix BREAKING CHANGE When both ampUrlPrefix and ampRuntimeVersion are specified, do not append rtv/{rtv}/ to the prefix. If version information is expected in the URL, it can be included in ampUrlPrefix. * optimizer: Update tests for revised ampUrlPrefix handling * optimizer: Revise version in ampUrlPrefix notice
- Loading branch information
1 parent
be53879
commit 9e7533c
Showing
6 changed files
with
32 additions
and
26 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
13 changes: 0 additions & 13 deletions
13
...nsformers/experimental/RewriteAmpUrls/rewrites_host_and_adds_version/expected_output.html
This file was deleted.
Oops, something went wrong.
13 changes: 13 additions & 0 deletions
13
...rmers/experimental/RewriteAmpUrls/rewrites_host_and_excludes_version/expected_output.html
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!doctype html> | ||
<html ⚡> | ||
<head> | ||
<link rel="preload" href="/amp/v0.js" as="script"> | ||
<link rel="preload" href="/amp/v0.css" as="style"> | ||
<script async custom-element=amp-experiment src=/amp/v0/amp-experiment-0.1.js></script> | ||
<script async src="/amp/v0.js"></script> | ||
<link rel=stylesheet href=/amp/v0.css> | ||
<link href=https://fonts.googleapis.com/css?foobar rel=stylesheet type=text/css> | ||
<link href=https://example.com/favicon.ico rel=icon> | ||
</head> | ||
<body></body> | ||
</html> |
File renamed without changes.