Skip to content

Commit

Permalink
fix package being built and deployed
Browse files Browse the repository at this point in the history
  • Loading branch information
sparkplug0025 committed Oct 18, 2024
1 parent 1d16c3e commit 2a2c4da
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion services/user/Workshop/query/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ publish = false

[package.metadata.psibase]
plugin = "workshop-plugin"
data = [{src = "../ui/dist", dst = "/"}]

[dependencies]
psibase = { path = "../../../../rust/psibase" }
Expand Down
3 changes: 1 addition & 2 deletions services/user/Workshop/query/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ mod service {

#[action]
fn serveSys(request: HttpRequest) -> Option<HttpReply> {
None.or_else(|| serve_simple_ui::<workshop::Wrapper>(&request))
.or_else(|| serve_graphql(&request, Query))
None.or_else(|| serve_graphql(&request, Query))
.or_else(|| serve_graphiql(&request))
}
}
3 changes: 2 additions & 1 deletion services/user/Workshop/service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
Expand Down

0 comments on commit 2a2c4da

Please sign in to comment.