diff --git a/ios/Capacitor/Capacitor/CAPWebView.swift b/ios/Capacitor/Capacitor/CAPWebView.swift index 244a169380..131a2ecdb3 100644 --- a/ios/Capacitor/Capacitor/CAPWebView.swift +++ b/ios/Capacitor/Capacitor/CAPWebView.swift @@ -28,7 +28,7 @@ open class CAPWebView: UIView { private lazy var assetHandler: WebViewAssetHandler = { let handler = WebViewAssetHandler(router: router) handler.setAssetPath(configuration.appLocation.path) - handler.setServerUrl(bridge.config.serverURL) + handler.setServerUrl(configuration.serverURL) return handler }()