Skip to content

Commit

Permalink
fix(mac): Point to local dev in debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
thien-do committed Aug 4, 2022
1 parent 17f8c7f commit 81ef2cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mac/SamuwriteNative/WebView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ struct WebView: NSViewRepresentable {
nsView.loadFileURL(url, allowingReadAccessTo: url.deletingLastPathComponent())
}
case .webDebug:
if let url = URL(string: "https://samuwrite.com") {
if let url = URL(string: "http://localhost:1234") {
nsView.load(URLRequest(url: url))
}
}
Expand Down

0 comments on commit 81ef2cf

Please sign in to comment.