diff options
| author | FangcatChina <f20091219@outlook.com> | 2026-07-17 05:42:54 +0000 |
|---|---|---|
| committer | FangcatChina <f20091219@outlook.com> | 2026-07-17 05:42:54 +0000 |
| commit | 8af464dc6007becfbbab7db049386049039af7b9 (patch) | |
| tree | 15892cb9850fb6c39398a6ff3343af394bee42d6 /overrides/main.html | |
| parent | Bump Waline version (diff) | |
Fix API failure
Diffstat (limited to 'overrides/main.html')
| -rw-r--r-- | overrides/main.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/overrides/main.html b/overrides/main.html index b79ee5a..f3be25e 100644 --- a/overrides/main.html +++ b/overrides/main.html @@ -2,7 +2,7 @@ {% block content %} {{ super() }} -<div id="waline-container" style="margin-top: 80px; padding-top: 12px;"></div> +<div id="waline" style="margin-top: 80px; padding-top: 12px;"></div> {% endblock %} {% block styles %} @@ -17,10 +17,10 @@ {% block scripts %} {{ super() }} -<script src="https://unpkg.com/@waline/client@latest/dist/waline.js"></script> -<script> - Waline.init({ - el: '#waline-container', +<script type="module"> + import { init } from 'https://unpkg.com/@waline/client@latest/dist/waline.js'; + init({ + el: '#waline', serverURL: "https://lcapi.091209.xyz", }) </script> |
