Skip to content

Commit 73a12d1

Browse files
committed
use dot slash syntax for relative paths to assets
1 parent ef5d06a commit 73a12d1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/web/src/render.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ export const Rendered = renderToString(
150150
aria-label="merln"
151151
width="60"
152152
height="20"
153-
src="/favicon.svg"
153+
src="./favicon.svg"
154154
/>
155155
</div>
156156
<div class="footer-right">
@@ -167,13 +167,13 @@ export const Rendered = renderToString(
167167
<h3>Terms</h3>
168168
<p>
169169
The JSON API is available at{" "}
170-
<a href="/api.json" target="_blank">
170+
<a href="./api.json" target="_blank">
171171
/api.json
172172
</a>
173173
</p>
174174
<p>
175175
There is a ruleset for crawlers in the{" "}
176-
<a href="/robots.txt" target="_blank">
176+
<a href="./robots.txt" target="_blank">
177177
/robots.txt
178178
</a>{" "}
179179
file.

0 commit comments

Comments
 (0)