proxy: fixes missing proxy template check (#250) (#251)

Signed-off-by: Tobias Kohlbau <tobias@kohlbau.de>
This commit is contained in:
Tobias Kohlbau
2018-07-13 18:47:58 +02:00
committed by Rob j Loranger
parent 9ee0478780
commit f8fd040684
+4 -2
View File
@@ -4,8 +4,10 @@
<meta charset="utf-8">
<title>Athens Go Module Proxy</title>
<%= stylesheetTag("application.css") %>
<meta name="csrf-param" content="authenticity_token" />
<meta name="csrf-token" content="<%= authenticity_token %>" />
<%= if (authenticity_token) { %>
<meta name="csrf-param" content="authenticity_token" />
<meta name="csrf-token" content="<%= authenticity_token %>" />
<% } %>
<link rel="icon" href="<%= assetPath("images/favicon.ico") %>">
</head>
<body>