Skip to content

Commit

Permalink
chore: run fmt (#6729)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcesarmobile committed Jul 13, 2023
1 parent 910c54e commit 4fdbe6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/Capacitor/Capacitor/WebViewAssetHandler.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ internal class WebViewAssetHandler: NSObject, WKURLSchemeHandler {
]

// if using live reload, then set CORS headers
if self.serverUrl != nil && self.serverUrl?.scheme != localUrl.scheme {
if self.serverUrl != nil && self.serverUrl?.scheme != localUrl.scheme {
headers["Access-Control-Allow-Origin"] = self.serverUrl?.absoluteString
headers["Access-Control-Allow-Methods"] = "GET, OPTIONS"
}
Expand Down

0 comments on commit 4fdbe6e

Please sign in to comment.