Skip to content

Commit 94f622e

Browse files
committed
Make app.ftl link preload path absolute.
Otherwise, when you go to https://profiler.firefox.com/public/g09y396tf8e5ga5cc1k8ec2wxet3acg4hx27pw8/calltree/ ,it will try to preload https://profiler.firefox.com/public/g09y396tf8e5ga5cc1k8ec2wxet3acg4hx27pw8/calltree/locales/en-US/app.ftlwhich the server responds to with index.html. And then there are warnings in the browser console about the fact that we preloaded something that we didn't end up using.
1 parent 93fd5d9 commit 94f622e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

res/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<meta charset="utf-8" />
88
<meta name="viewport" content="initial-scale=1" />
99
<title>Firefox Profiler</title>
10-
<link rel="preload" href="locales/en-US/app.ftl" as="fetch" />
10+
<link rel="preload" href="/locales/en-US/app.ftl" as="fetch" />
1111
</head>
1212
<body style="background-color: #363959; /* ink-70 */">
1313
<svg id="svg-filters"></svg>

0 commit comments

Comments
 (0)