summaryrefslogtreecommitdiff
path: root/examples/docs/src
diff options
context:
space:
mode:
authorGravatar Matthew Phillips <matthew@skypack.dev> 2022-03-29 07:35:03 -0400
committerGravatar GitHub <noreply@github.com> 2022-03-29 07:35:03 -0400
commitecc6a4833f68eaf78bd5d619ff7c54b952c96b15 (patch)
tree95175d87fd2002ab441a968970512a1293c48874 /examples/docs/src
parent030fd48bdd917206f32c78c88a3fe2a2d9191101 (diff)
downloadastro-ecc6a4833f68eaf78bd5d619ff7c54b952c96b15.tar.gz
astro-ecc6a4833f68eaf78bd5d619ff7c54b952c96b15.tar.zst
astro-ecc6a4833f68eaf78bd5d619ff7c54b952c96b15.zip
Implement the Astro.request RFC (#2913)
* Implement the Astro.request RFC * Disable console warnings eslint * Use our logger * Adds a changeset * Fix tests that depend on params, canonicalURL, URL Co-authored-by: Fred K. Schott <fkschott@gmail.com>
Diffstat (limited to 'examples/docs/src')
-rw-r--r--examples/docs/src/layouts/MainLayout.astro2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/docs/src/layouts/MainLayout.astro b/examples/docs/src/layouts/MainLayout.astro
index 92e0bcf44..8c46278fe 100644
--- a/examples/docs/src/layouts/MainLayout.astro
+++ b/examples/docs/src/layouts/MainLayout.astro
@@ -17,7 +17,7 @@ const githubEditUrl = CONFIG.GITHUB_EDIT_URL && CONFIG.GITHUB_EDIT_URL + current
<html dir={content.dir ?? 'ltr'} lang={content.lang ?? 'en-us'} class="initial">
<head>
<HeadCommon />
- <HeadSEO {content} canonicalURL={Astro.request.canonicalURL} />
+ <HeadSEO {content} canonicalURL={Astro.canonicalURL} />
<title>{content.title ? `${content.title} 🚀 ${CONFIG.SITE.title}` : CONFIG.SITE.title}</title>
<style>
body {