Skip to content
Snippets Groups Projects
Verified Commit 5af2ffd8 authored by Chris Coley's avatar Chris Coley
Browse files

Add a favicon so that browsers don't go looking in the default location

That extra request to the default /favicon.ico path on the root of the
domain, which is not a valid path because Pages has no root namespace,
was being redirected to an auth page. That auth page was setting cookies
which were then being passed along with subsequent requests, causing the
pages to not be cached. Hopefully this fixes that.
parent 7831044c
Branches
No related tags found
No related merge requests found
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="generator" content="GitLab Pages"> <meta name="generator" content="GitLab Pages">
<title>Cache Test | %%PROJECT_TITLE%%</title> <title>Cache Test | %%PROJECT_TITLE%%</title>
<link rel="shortcut icon" href="gitlab-favicon.png">
<link rel="preload" href="style.css" as="style"> <link rel="preload" href="style.css" as="style">
<link rel="stylesheet" href="style.css"> <link rel="stylesheet" href="style.css">
</head> </head>
... ...
......
src/gitlab-favicon.png

591 B

...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="generator" content="GitLab Pages"> <meta name="generator" content="GitLab Pages">
<title>%%PROJECT_TITLE%%</title> <title>%%PROJECT_TITLE%%</title>
<link rel="shortcut icon" href="gitlab-favicon.png">
<link rel="preload" href="style.css" as="style"> <link rel="preload" href="style.css" as="style">
<link rel="stylesheet" href="style.css"> <link rel="stylesheet" href="style.css">
</head> </head>
... ...
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="generator" content="GitLab Pages"> <meta name="generator" content="GitLab Pages">
<title>Subdirectory | %%PROJECT_TITLE%%</title> <title>Subdirectory | %%PROJECT_TITLE%%</title>
<link rel="shortcut icon" href="../gitlab-favicon.png">
<link rel="preload" href="../style.css" as="style"> <link rel="preload" href="../style.css" as="style">
<link rel="stylesheet" href="../style.css"> <link rel="stylesheet" href="../style.css">
</head> </head>
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment