Revert "Update link hrefs to absolute urls"

Nate created

This reverts commit 62edcd70e223b8a1248f95bdddc9de7a01b1ec86.

Change summary

server/templates/partials/layout.hbs | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)

Detailed changes

server/templates/partials/layout.hbs 🔗

@@ -4,28 +4,28 @@
     <meta charset="utf-8">
     <meta name="viewport" content="width=device-width, initial-scale=0.86, maximum-scale=5.0, minimum-scale=0.86">
     
-    <link rel="mask-icon" href="https://zed.dev/static/images/favicon.svg" color="#000000">
-    <link rel="alternate icon" type="image/png" href="https://zed.dev/static/images/favicon.png">
-    <link rel="shortcut icon" href="https://zed.dev/static/images/favicon.svg">
-    <link rel="apple-touch-icon" sizes="180x180" href="https://zed.dev/static/images/apple-touch-icon.png">
-    <link rel="manifest" href="https://zed.dev/static/site.webmanifest">
+    <link rel="mask-icon" href="/static/images/favicon.svg" color="#000000">
+    <link rel="alternate icon" type="image/png" href="/static/images/favicon.png">
+    <link rel="shortcut icon" href="/static/images/favicon.svg">
+    <link rel="apple-touch-icon" sizes="180x180" href="/static/images/apple-touch-icon.png">
+    <link rel="manifest" href="/static/site.webmanifest">
 
-    <link rel="stylesheet" href="https://zed.dev/static/styles.css">
-    <link rel="stylesheet" href="https://zed.dev/static/prose.css">
+    <link rel="stylesheet" href="/static/styles.css">
+    <link rel="stylesheet" href="/static/prose.css">
 
-    <link rel="mask-icon" href="https://zed.dev/static/images/safari-pinned-tab.svg" color="#000000">
+    <link rel="mask-icon" href="/static/images/safari-pinned-tab.svg" color="#000000">
     <meta name="msapplication-TileColor" content="#000000">
-    <meta name="msapplication-config" content="https://zed.dev/static/browserconfig.xml">
+    <meta name="msapplication-config" content="/static/browserconfig.xml">
     <meta name="theme-color" content="#000">
 
     <!-- Open Graph stuff -->
     <meta name="twitter:card" content="summary" />
-    <meta property="twitter:image" content="https://zed.dev/static/images/zed-twitter-image.png" />
+    <meta property="twitter:image" content="/static/images/zed-twitter-image.png" />
     <meta name="twitter:image:alt" content="An image of Zed's logo, sharp Z inside a circle, in white on a black background." />
     <meta property="og:url" content="https://zed.dev/" />
     <meta property="og:title" content="Introducing Zed" />
     <meta property="og:description" content="A lightning-fast, collaborative code editor written in Rust." />
-    <meta property="og:image" content="https://zed.dev/static/images/zed-og-image.png" />
+    <meta property="og:image" content="/static/images/zed-og-image.png" />
     <meta property="og:type" content="website" />
 
     <title>Zed</title>