Skip to content

Commit c991cc9

Browse files
committed
file-explorer: add ssd; bump deps; fix share links
1 parent 932f4e7 commit c991cc9

File tree

5 files changed

+215
-33
lines changed

5 files changed

+215
-33
lines changed

Cargo.lock

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

hyperdrive/packages/file-explorer/Cargo.lock

Lines changed: 142 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

hyperdrive/packages/file-explorer/explorer/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ process_macros = "0.1"
55
serde_json = "1.0"
66
serde_urlencoded = "0.7"
77
tracing = "0.1.37"
8-
wit-bindgen = "0.36.0"
8+
wit-bindgen = "0.42.1"
99

1010
[dependencies.hyperprocess_macro]
1111
git = "https://github.com/hyperware-ai/hyperprocess-macro"
12-
rev = "16369af"
12+
rev = "9836e2a"
1313

1414
[dependencies.hyperware_app_common]
1515
git = "https://github.com/hyperware-ai/hyperprocess-macro"
16-
rev = "16369af"
16+
rev = "9836e2a"
1717

1818
[dependencies.serde]
1919
features = ["derive"]

hyperdrive/packages/file-explorer/explorer/src/lib.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use hyperware_app_common::hyperware_process_lib::our;
66
use hyperware_app_common::hyperware_process_lib::vfs::{
77
self, create_drive, vfs_request, FileType, VfsAction, VfsResponse,
88
};
9-
use hyperware_app_common::send;
9+
use hyperware_app_common::{send, SaveOptions};
1010
use std::collections::HashMap;
1111

1212
const ICON: &str = include_str!("./icon");
@@ -40,15 +40,15 @@ struct FileExplorerState {
4040

4141
#[hyperprocess(
4242
name = "file-explorer",
43-
ui = Some(HttpBindingConfig::default()),
43+
ui = Some(HttpBindingConfig::default().secure_subdomain(true)),
4444
endpoints = vec![
4545
Binding::Http {
4646
path: "/api",
47-
config: HttpBindingConfig::default(),
47+
config: HttpBindingConfig::default().secure_subdomain(true),
4848
},
4949
Binding::Ws {
5050
path: "/ws",
51-
config: WsBindingConfig::default(),
51+
config: WsBindingConfig::default().secure_subdomain(true),
5252
},
5353
Binding::Http {
5454
path: "/shared/*",

0 commit comments

Comments
 (0)