[verified] fix Nextcloud comment action loading

This commit is contained in:
2026-09-19 08:29:09 +00:00
parent 1206e8d332
commit 56df1251b9
7 changed files with 23 additions and 8 deletions
+10
View File
@@ -0,0 +1,10 @@
from pathlib import Path
root = Path(__file__).resolve().parents[1]
listener = (root / "lib/Listener/LoadFilesScript.php").read_text()
expected_call = "Util::addInitScript(Application::APP_ID, Application::APP_ID . '-main');"
assert expected_call in listener, "listener must load the exact app-prefixed Vite asset"
assert (root / "js/korean_comments_action-main.mjs").is_file(), "built module is missing"
print("php asset link ok")