@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.
- package/package.json +1 -1
- package/swifty.js +1 -1
package/package.json
CHANGED
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('</
|
|
403
|
+
templateContent = templateContent.replace('</body>', `${turboScript}</body>`);
|
|
404
404
|
return templateContent;
|
|
405
405
|
};
|
|
406
406
|
|