Skip to content

Commit

Permalink
Merge pull request #1 from btcdomain/update_version
Browse files Browse the repository at this point in the history
update version
  • Loading branch information
SparkHao authored Mar 17, 2023
2 parents da9ead4 + ee6ab32 commit ac2a4ab
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 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.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "btcdomain_resolver"
version = "0.1.1"
version = "0.1.2"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ docker start ${image_name}
export RUST_LOG=info
export database=mysql://root:$pwd@localhost:$port/domain_inscription_data

wget https://github.com/btcdomain/btcdomain_resolver/releases/download/v0.1.0/btcdomain_resolver
wget https://github.com/btcdomain/btcdomain_resolver/releases/download/v0.1.2/btcdomain_resolver

chmod +x btcdomain_resolver

Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ pub async fn main() {
.allow_headers(Any)
.allow_origin(Any);
let router = Router::new()
.route("/api/domain/:domain", get(resolve_domain))
.route("/api/address/:address", get(resolve_address))
.route("/open_api/domain/:domain", get(resolve_domain))
.route("/open_api/address/:address", get(resolve_address))
.layer(cors.clone());


Expand Down

0 comments on commit ac2a4ab

Please sign in to comment.