Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Shorten URL in error messages (#32818)
Currently the full URL is too long for Gmail since the URL includes `__amp_source_origin`, which is the full data URL for the AMP document itself. This follows the eliding pattern for the non-SSR path in xhr-impl: https://github.com/ampproject/amphtml/blob/a0f71dfb0381e236d6c6be287549748838731467/src/service/xhr-impl.js#L11
- Loading branch information
Showing
2 changed files
with
19 additions
and
7 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