Fix server push and use Link header to load CSS
Nginx with http2_push_preload on will convert the Link header to server pushes, so we use it to load css.
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
<html lang="en" class="{{ .cssClass }}">
|
||||
<head>
|
||||
<link rel="stylesheet" type="text/css" href="css/base.css">
|
||||
|
||||
<script>
|
||||
window.URLBase = "{{ .urlBase }}";
|
||||
window.notificationsEnabled = {{ .notifications }};
|
||||
|
||||
Reference in New Issue
Block a user