Пуш последних правок

This commit is contained in:
kirill.labutin 2026-02-10 13:55:53 +03:00
parent d7a9b3bbdb
commit 75d33c57b2
2 changed files with 2 additions and 11 deletions

View File

@ -15,7 +15,7 @@ namespace Blocks4u.Editor
if (GUILayout.Button("Open Editor"))
{
var script = MonoScript.FromMonoBehaviour((MonoBehaviour) serializedObject.targetObject);
Application.OpenURL($"{ServerHolder.Server.URL}blocks4u/dist/index.html?script={AssetDatabase.GetAssetPath(script)}&token={ServerHolder.Server.SessionToken}");
Application.OpenURL($"{ServerHolder.Server.URL}index.html?script={AssetDatabase.GetAssetPath(script)}&token={ServerHolder.Server.SessionToken}");
}
}
}

View File

@ -46,16 +46,7 @@ namespace Blocks4u.Editor
var url = request.Url;
var path = url.AbsolutePath;
// if (path == "/")
// {
// foreach (string kek in context.Request.QueryString)
// {
// Debug.LogError(kek);
// }
//
// HandleRedirect($"/blocks4u/dist/index.html?{context.Request.QueryString}", context);
// return;
// }
if (path != "/rpc")
{