Пример #1
0
        public override void _Ready()
        {
            var h5 = "api";

            server = GetParent <EmbeddedWebServerComponent>();
            server.AddResource($"/{h5}", this);
        }
Пример #2
0
        public override void _Ready()
        {
            var h5 = "ui";

            server = GetParent <EmbeddedWebServerComponent>();
            server.AddResource($"/{h5}", this);
            //OS.ShellOpen($"http://{GetLocalIp()}:8079/{h5}/index.html");
        }