简体   繁体   中英

Rikulo Stream serve specified file

How do I serve a file that I specify in Rikulo stream without doing a redirect. I was trying

new ResourceLoader('my_app').load(connect, 'alternate.html');

from the plugin package but I receive the error:

type 'String' is not a subtype of type 'Path' of 'rootDir'

将字符串“ my_app”替换为某种包含该字符串的对象路径。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM