This is an automated email from the ASF dual-hosted git repository.

guoqi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 3fd92cb4d5b fix: set eta (#1167)
3fd92cb4d5b is described below

commit 3fd92cb4d5b385a6ff97ed5637237abecd9e24b8
Author: 琚致远 <[email protected]>
AuthorDate: Tue Jun 28 18:14:19 2022 +0800

    fix: set eta (#1167)
---
 website/config/ssrTemplate.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/website/config/ssrTemplate.js b/website/config/ssrTemplate.js
index f67269bc0a1..ba9c8e3f42d 100644
--- a/website/config/ssrTemplate.js
+++ b/website/config/ssrTemplate.js
@@ -14,10 +14,10 @@ module.exports = {
         <%~ metaAttribute %>
       <% }); %>
       <% it.stylesheets.forEach((stylesheet) => { %>
-        <link rel="stylesheet" 
href="https://apisix-website-static.apiseven.com/<%= stylesheet %>" />
+        <link rel="stylesheet" 
href="https://apisix-website-static.apiseven.com<%= it.baseUrl %><%= stylesheet 
%>" />
       <% }); %>
       <% it.scripts.forEach((script) => { %>
-        <link rel="preload" 
href="https://apisix-website-static.apiseven.com/<%= script %>" as="script">
+        <link rel="preload" 
href="https://apisix-website-static.apiseven.com<%= it.baseUrl %><%= script %>" 
as="script">
       <% }); %>
       <!-- Matomo from the ASF -->
       <script>
@@ -45,7 +45,7 @@ module.exports = {
         <%~ it.appHtml %>
       </div>
       <% it.scripts.forEach((script) => { %>
-        <script src="https://apisix-website-static.apiseven.com/<%= script 
%>"></script>
+        <script src="https://apisix-website-static.apiseven.com<%= it.baseUrl 
%><%= script %>"></script>
       <% }); %>
       <%~ it.postBodyTags %>
     </body>

Reply via email to