1
0
mirror of https://github.com/hotomoe/hotomoe synced 2024-11-28 14:58:15 +09:00

enhance(client): provide THIS_ID and THIS_URL vars to aiscript of flash

This commit is contained in:
syuilo 2023-01-06 17:19:25 +09:00
parent c14063a921
commit 5846198eee

View File

@ -147,6 +147,8 @@ async function run() {
...registerAsUiLib(components, (_root) => {
root.value = _root.value;
}),
THIS_ID: values.STR(flash.id),
THIS_URL: values.STR(`${url}/play/${flash.id}`),
}, {
in: (q) => {
return new Promise(ok => {