#router "/profile/:user" "app/webroot/index.shs" #router "/uwu" "owo" router "/channel/:id" "${cfg[namespace]}/webroot/channel.shs" router "/user/:user" "${cfg[namespace]}/webroot/channel.shs" router "/playlist" "${cfg[namespace]}/webroot/playlist.shs" if [[ "${r[host]}" == "${cfg[flash_host]}" ]]; then router "/watch" "${cfg[namespace]}/webroot/watch_flash.shs" else router "/watch" "${cfg[namespace]}/webroot/watch.shs" fi echo "${r[host]}" > tmp