Atualização automática: 2026-05-18 20:12:35

This commit is contained in:
Hermes
2026-05-18 20:12:35 +00:00
parent 37612a7b81
commit e596342950
5 changed files with 92 additions and 23 deletions
+1 -3
View File
@@ -437,8 +437,6 @@ function openCloneFolder(directory) {
}
function openClonedSite(directory) {
// Extract folder name and open site in browser via window.open
const folderName = directory.split('/').pop();
const siteUrl = window.location.protocol + '//' + window.location.host + '/' + folderName + '/index.html';
window.open(siteUrl, '_blank');
window.open('/api/preview/' + folderName, '_blank');
}