summaryrefslogtreecommitdiff
path: root/examples/qmlapp/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qmlapp/index.html')
-rw-r--r--examples/qmlapp/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/qmlapp/index.html b/examples/qmlapp/index.html
index 4f4593c..6601fa2 100644
--- a/examples/qmlapp/index.html
+++ b/examples/qmlapp/index.html
@@ -8,7 +8,7 @@
document.querySelector("#out").innerHTML += x + "<br/>";
}
window.onload = function() {
- 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(c) {
c.subscribe(
"foobar",