core: Move speedscope into a trace app. Isolate all the things.

This commit is contained in:
2025-11-23 20:08:51 -05:00
parent 716bce2bb0
commit 7c7857a6cd
23 changed files with 40 additions and 6 deletions

View File

@@ -965,7 +965,6 @@ tf_http_t* tf_httpd_create(JSContext* context)
tf_http_add_handler(http, "/codemirror/*", tf_httpd_endpoint_static, NULL, task);
tf_http_add_handler(http, "/lit/*", tf_httpd_endpoint_static, NULL, task);
tf_http_add_handler(http, "/prettier/*", tf_httpd_endpoint_static, NULL, task);
tf_http_add_handler(http, "/speedscope/*", tf_httpd_endpoint_static, NULL, task);
tf_http_add_handler(http, "/static/*", tf_httpd_endpoint_static, NULL, task);
tf_http_add_handler(http, "/.well-known/*", tf_httpd_endpoint_static, NULL, task);
tf_http_add_handler(http, "/&*.sha256", _httpd_endpoint_add_slash, NULL, task);