]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/index.html
Client: add basic aot support
[github/Chocobozzz/PeerTube.git] / client / src / index.html
index f39d8d2cfc1a637247f0338b644e23d4f8959628..aa7a6035d7f8aa28b51614bb81b54b9d5a80b285 100644 (file)
@@ -1,22 +1,29 @@
 <!DOCTYPE html>
 <html>
   <head>
-    <base href="/">
-
-    <title>PeerTube</title>
+    <title><%= htmlWebpackPlugin.options.title %></title>
 
     <meta charset="UTF-8">
     <meta name="viewport" content="width=device-width, initial-scale=1">
 
+    <!-- The following comment is used by the server to prerender OpenGraph tags -->
+    <!-- opengraph tags -->
+    <!-- Do not remove it! -->
+
     <link rel="icon" type="image/png" href="/client/assets/favicon.png" />
 
     <!-- TODO: bundle it with webpack when https://github.com/webpack/webpack/pull/1931 will be merged -->
     <script src="/client/assets/webtorrent/webtorrent.min.js"></script>
+
+    <!-- base url -->
+    <base href="<%= htmlWebpackPlugin.options.metadata.baseUrl %>">
   </head>
 
   <!-- 3. Display the application -->
   <body>
+
     <my-app>
     </my-app>
+
   </body>
 </html>