mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
fix bingAI draw
This commit is contained in:
parent
f8529dc7de
commit
54c1db0255
2 changed files with 10 additions and 8 deletions
|
@ -3,6 +3,14 @@
|
|||
<base href="https://jamesfengcao.codeberg.page/en/searchurl/bingAI/">
|
||||
<title id="docTitle">Draw</title>
|
||||
<link rel="stylesheet" href="./css/DrawImg.css">
|
||||
<script>
|
||||
function getMagicUrl() {
|
||||
let v = localStorage.GoGoUrl;
|
||||
if(v && v.startsWith("http")) return v;
|
||||
return "https://mybing2.xn--xyza.top/";
|
||||
}
|
||||
const magicUrl = getMagicUrl();
|
||||
</script>
|
||||
<script type="text/javascript" src="./js/generateImages.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -16,12 +24,6 @@
|
|||
</div>
|
||||
</div>
|
||||
<script>
|
||||
async function getMagicUrl() {
|
||||
let v = localStorage.GoGoUrl;
|
||||
if(v && v.startsWith("http")) return v;
|
||||
return "https://mybing2.xn--xyza.top/";
|
||||
}
|
||||
const magicUrl = getMagicUrl();
|
||||
const inputDraw = document.getElementById('inputDraw');
|
||||
const imgsDiv = document.getElementById('imgs');
|
||||
async function draw() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue