79409464

Date: 2025-02-03 16:55:01
Score: 1
Natty:
Report link

I found a solution for this use relative path

-    <script type="module" crossorigin src="/assets/index-BbwXgWnI.js"></script>
-    <link rel="stylesheet" crossorigin href="/assets/index-D9dz9LQE.css">
+    <script type="module" crossorigin src="assets/index-BbwXgWnI.js"></script>
+    <link rel="stylesheet" crossorigin href="assets/index-D9dz9LQE.css">

here is a similar question github pages and relative paths, but I think this question is out of date. Github Page can solve relative paths successfully. without any additional configuration.

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: illusory0x0