Browse Source

fix(examples): use dev server URL on API example `devPath` config

Lucas Nogueira 3 năm trước cách đây
mục cha
commit
2ec998b982
2 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 1 1
      examples/api/src-tauri/tauri.conf.json
  2. 2 2
      tooling/cli.rs/Cargo.lock

+ 1 - 1
examples/api/src-tauri/tauri.conf.json

@@ -1,7 +1,7 @@
 {
   "build": {
     "distDir": "../public",
-    "devPath": "../public",
+    "devPath": "http://localhost:5000",
     "beforeDevCommand": "yarn dev",
     "beforeBuildCommand": "yarn build"
   },

+ 2 - 2
tooling/cli.rs/Cargo.lock

@@ -31,9 +31,9 @@ checksum = "28ae2b3dec75a406790005a200b1bd89785afc02517a00ca99ecfe093ee9e6cf"
 
 [[package]]
 name = "ar"
-version = "0.8.0"
+version = "0.9.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "450575f58f7bee32816abbff470cbc47797397c2a81e0eaced4b98436daf52e1"
+checksum = "d67af77d68a931ecd5cbd8a3b5987d63a1d1d1278f7f6a60ae33db485cdebb69"
 
 [[package]]
 name = "attohttpc"