MCPcopy Create free account
hub / github.com/ampproject/amphtml / replaceUrl

Method replaceUrl

src/service/viewer-interface.js:227–227  ·  view source on GitHub ↗

* Replace the document url with the viewer provided new replaceUrl. * @param {?string} newUrl

(newUrl)

Source from the content-addressed store, hash-verified

225 * @param {?string} newUrl
226 */
227 replaceUrl(newUrl) {}
228}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected