Spaces:
Running
Running
File size: 1,554 Bytes
ada72fe |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<!-- <link rel="icon" href="%sveltekit.assets%/favicon.png" /> -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, viewport-fit=cover">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="theme-color" content="#2196f3">
<script type="module" crossorigin src="../assets/mobile-fbc46914.js"></script>
<link rel="modulepreload" crossorigin href="../assets/global-b3b5b4db.js">
<link rel="stylesheet" href="../assets/global-4d6647d9.css">
<link rel="stylesheet" href="../assets/index-693ac17f.css">
<script>
function bewwy_mofu() {
const urlParams = new URLSearchParams(window.location.search);
port = urlParams.get("port");
url = urlParams.get("url");
if (url == null) {return;}
url = url.replace("https://", "");
config = localStorage.getItem('config');
mofuness = true;
if (config == null){config="{}";} //you a-assume eveyone h-have wocawstowage weady
config = JSON.parse(config); //Hewwo mofu whwrw dwd u gw
config['comfyUIHostname'] = url;
config['comfyUIPort'] = parseInt(port);
localStorage.setItem("config", JSON.stringify(config));
}
//that wanguage i-is m-much s-sanew than t-this o-one i-i'm c-cuwwentwy using w-wight nyow nyya~
</script>
</head>
<body onload="bewwy_mofu()">
<div id="app-root" class="mobile">
</body>
</html>
|