@daz4126/swifty 1.6.2 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/swifty.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daz4126/swifty",
3
- "version": "1.6.2",
3
+ "version": "1.7.0",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "bin": {
package/swifty.js CHANGED
@@ -400,7 +400,7 @@ const renderIndexTemplate = async (content, config) => {
400
400
  </script>
401
401
  `;
402
402
  // Inject the script at the end of the template
403
- templateContent = templateContent.replace('</head>', `${turboScript}</head>`);
403
+ templateContent = templateContent.replace('</body>', `${turboScript}</body>`);
404
404
  return templateContent;
405
405
  };
406
406