2025-05-21 18:48:29 -04:00
|
|
|
import * as tfrpc from '/tfrpc.js';
|
|
|
|
|
2025-05-21 18:08:08 -04:00
|
|
|
async function main() {
|
|
|
|
await app.setDocument(utf8Decode(getFile('index.html')));
|
|
|
|
}
|
|
|
|
|
2025-05-21 18:48:29 -04:00
|
|
|
tfrpc.register(async function complete() {
|
|
|
|
if ((await core.globalSettingsGet('index')) == '/~core/intro/') {
|
|
|
|
return await core.globalSettingsSet('index', '/~core/ssb/');
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
2025-05-21 18:20:01 -04:00
|
|
|
main();
|