Skip to content

Commit eb07c23

Browse files
Actualizar API
1 parent 046973a commit eb07c23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ try{
2222
function convertCCG(htms){
2323
console.info(prefix+"Convert Html to Game by CreatorCraft...");
2424
let jsFileCache = "";
25-
let cssFileCache = "*{ position: fixed; width: 100%; height: 100%; top: 0%; left: 0%; bottom: 0%; right: 0%; border: none; }";
25+
let cssFileCache = "iframe{ position: fixed; width: 100%; height: 100%; top: 0%; left: 0%; bottom: 0%; right: 0%; border: none; }";
2626
let htmlFileCache = "<!DOCTYPE html><html><body><iframe srcdoc='"+htms.replaceAll("&", "&amp;").replaceAll('"', "&#34;").replaceAll(/(\r\n|\r|\n)/g, "&#10;").replaceAll("<", "&#60;").replaceAll(">", "&#62;").replaceAll("'", "&#39;")+"'>Error! Not Load</iframe></body></html>";
2727
fs.writeFileSync(dirGame+"/main.js", jsFileCache);
2828
fs.writeFileSync(dirGame+"/index.css", cssFileCache);

0 commit comments

Comments
 (0)