feat: add auto reg to widget

This commit is contained in:
Tristan Yang
2023-11-17 20:47:17 +08:00
parent cc636ad86b
commit 128fac9427
8 changed files with 93 additions and 56 deletions
+8 -2
View File
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
@@ -27,5 +27,11 @@
</div>
</div>
</body>
<script src="/widget.js" data-host-id="1" data-theme-color="#eee" async></script>
<script
src="/widget.js"
data-auto-reg="true"
data-host-id="1"
data-theme-color="#eee"
async
></script>
</html>