Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
brian14708 committed Sep 5, 2022
1 parent f4923ca commit 77202f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions app/src-tauri/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,7 @@ fn log(s: impl Into<String>) {

#[tokio::main]
async fn main() {
if cli::exec().await {
ort::deinit();
} else {
if !cli::exec().await {
#[allow(unused_imports)]
tauri::Builder::default()
.invoke_handler(tauri::generate_handler![
Expand Down
2 changes: 1 addition & 1 deletion app/svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const config = {

kit: {
adapter: adapter({
fallback: "200.html",
fallback: "index.html",
}),
trailingSlash: "always",
prerender: { entries: [] },
Expand Down

0 comments on commit 77202f5

Please sign in to comment.