We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07c612e commit 70ae418Copy full SHA for 70ae418
web/copy-build.js
@@ -58,11 +58,7 @@ async function main() {
58
}
59
60
const htmlContent = readFileSync(INDEX_SRC, "utf8");
61
- const updatedHtml = htmlContent
62
- .replace(/href="([^"]*)"/g, 'th:href="@{$1}"')
63
- .replace(/src="([^"]*)"/g, 'th:src="@{$1}"');
64
-
65
- writeFileSync(INDEX_DEST, updatedHtml);
+ writeFileSync(INDEX_DEST, htmlContent);
66
console.log("SpringBoot resources updated successfully");
67
68
0 commit comments