You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by ju...@apache.org on 2022/06/28 10:08:03 UTC
[apisix-website] branch fix-eta-template created (now 3f8a7777bab)
This is an automated email from the ASF dual-hosted git repository.
juzhiyuan pushed a change to branch fix-eta-template
in repository https://gitbox.apache.org/repos/asf/apisix-website.git
at 3f8a7777bab fix: set eta
This branch includes the following new commits:
new 3f8a7777bab fix: set eta
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[apisix-website] 01/01: fix: set eta
Posted by ju...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
juzhiyuan pushed a commit to branch fix-eta-template
in repository https://gitbox.apache.org/repos/asf/apisix-website.git
commit 3f8a7777babb9474e48fe7ca9e20b76a36012a16
Author: juzhiyuan <ju...@apache.org>
AuthorDate: Tue Jun 28 18:07:51 2022 +0800
fix: set eta
---
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>