Skip to content
Snippets Groups Projects
Commit 5846198e authored by syuilo's avatar syuilo
Browse files

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

parent c14063a9
No related branches found
No related tags found
No related merge requests found
......@@ -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 => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment