summaryrefslogtreecommitdiff
path: root/examples/hybridshell/qml/hybridshell/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'examples/hybridshell/qml/hybridshell/index.html')
-rw-r--r--examples/hybridshell/qml/hybridshell/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/hybridshell/qml/hybridshell/index.html b/examples/hybridshell/qml/hybridshell/index.html
index b93daab..23a765c 100644
--- a/examples/hybridshell/qml/hybridshell/index.html
+++ b/examples/hybridshell/qml/hybridshell/index.html
@@ -64,7 +64,7 @@
window.onload = function() {
out("Starting...");
- var baseUrl = (/[?&]webChannelBaseUrl=([A-Za-z0-9\-:/]+)/.exec(location.search)[1]);
+ var baseUrl = (/[?&]webChannelBaseUrl=([A-Za-z0-9\-:/\.]+)/.exec(location.search)[1]);
new QWebChannel(baseUrl, function(webChannel) {
window.navigator.webChannel = webChannel;
out("Ready");