Copilot commented on code in PR #6822:
URL: https://github.com/apache/shenyu/pull/6822#discussion_r3706267584
##########
shenyu-admin/src/main/resources/static/index.html:
##########
@@ -29,6 +29,6 @@
<body>
<div id="httpPath" style="display: none" th:text="${domain}"></div>
<div id="root"></div>
-<script type="text/javascript" src="index.814edc73.js"></script></body>
+<script type="text/javascript" src="index.2d4301e6.js"></script></body>
Review Comment:
This hard-coded hashed asset filename can break deployments if the
corresponding artifact is missing or not synced (e.g., partial merges,
CDN/cache, or packaging differences). Consider referencing a stable entrypoint
(e.g., a manifest-driven lookup, or a non-hashed alias like index.js that
points to the current hashed bundle during the build) so `index.html` doesn’t
need to change on every artifact sync.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]