From 2a2c4da644e867dc36aaf5667511f72976ef3908 Mon Sep 17 00:00:00 2001 From: Spark Plug Date: Fri, 18 Oct 2024 12:21:43 -0400 Subject: [PATCH] fix package being built and deployed --- services/user/Workshop/query/Cargo.toml | 1 - services/user/Workshop/query/src/lib.rs | 3 +-- services/user/Workshop/service/Cargo.toml | 3 ++- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/services/user/Workshop/query/Cargo.toml b/services/user/Workshop/query/Cargo.toml index deeecf662..517e6e897 100644 --- a/services/user/Workshop/query/Cargo.toml +++ b/services/user/Workshop/query/Cargo.toml @@ -10,7 +10,6 @@ publish = false [package.metadata.psibase] plugin = "workshop-plugin" -data = [{src = "../ui/dist", dst = "/"}] [dependencies] psibase = { path = "../../../../rust/psibase" } diff --git a/services/user/Workshop/query/src/lib.rs b/services/user/Workshop/query/src/lib.rs index 8317bffbf..f4edd0a73 100644 --- a/services/user/Workshop/query/src/lib.rs +++ b/services/user/Workshop/query/src/lib.rs @@ -34,8 +34,7 @@ mod service { #[action] fn serveSys(request: HttpRequest) -> Option { - None.or_else(|| serve_simple_ui::(&request)) - .or_else(|| serve_graphql(&request, Query)) + None.or_else(|| serve_graphql(&request, Query)) .or_else(|| serve_graphiql(&request)) } } diff --git a/services/user/Workshop/service/Cargo.toml b/services/user/Workshop/service/Cargo.toml index b839a0f3a..c1273dd5c 100644 --- a/services/user/Workshop/service/Cargo.toml +++ b/services/user/Workshop/service/Cargo.toml @@ -10,9 +10,10 @@ publish = false [package.metadata.psibase] server = "r-workshop" +data = [{src = "../ui/dist", dst = "/"}] [package.metadata.psibase.dependencies] -HttpServer = "0.12.0" +HttpServer = "0.13.0" [dependencies] psibase = { path = "../../../../rust/psibase" }