summaryrefslogtreecommitdiff
path: root/examples/qtobject/qml/qtobject/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qtobject/qml/qtobject/index.html')
-rw-r--r--examples/qtobject/qml/qtobject/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/qtobject/qml/qtobject/index.html b/examples/qtobject/qml/qtobject/index.html
index a4a94ed..5e2b866 100644
--- a/examples/qtobject/qml/qtobject/index.html
+++ b/examples/qtobject/qml/qtobject/index.html
@@ -6,7 +6,7 @@
window.output = function(x) {
document.querySelector("#out").innerHTML += x + "\n";
}
- 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(channel) {
setupQObjectWebChannel(channel, function() {
testObject1.sig1.connect(function(a, b, c) { output("1 sig1" + a + b + c); });