Skip to content

Commit

Permalink
Fix rocket_cors
Browse files Browse the repository at this point in the history
  • Loading branch information
kvinwang committed Sep 18, 2023
1 parent 437d71d commit 076f088
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 108 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

120 changes: 15 additions & 105 deletions standalone/pruntime/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions standalone/pruntime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ libc = "0.2"
num_cpus = "1.13"
version = "3.0.0"

rocket = { git = "https://github.com/SergioBenitez/Rocket.git", features = ["json"] }
rocket_cors = { version = "0.6.0-alpha1", git = "https://github.com/lawliet89/rocket_cors" }
rocket = { version = "0.5.0-rc.3", features = ["json"] }
rocket_cors = { version = "0.6.0-alpha1" }
serde_json = "1.0"

base64 = "0.13.0"
Expand All @@ -46,6 +46,8 @@ hex_fmt = "0.3.0"
[patch.crates-io]
# TODO.kevin: Move back to crates.io once it released 1.0
derive_more = { version = "0.99.17", git = "https://github.com/JelteF/derive_more" }
rocket = { git = "https://github.com/SergioBenitez/Rocket.git" }
rocket_cors = { git = "https://github.com/kvinwang/rocket_cors" }

# For pink-extension-runtime, it will introduce Substrate from crates-io which usually different with polkadot-branch
sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" }
Expand Down

0 comments on commit 076f088

Please sign in to comment.