projects
/
Biblio-RFID.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d2d499
)
call /scan without hostname
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Tue, 27 Jul 2010 18:41:18 +0000
(20:41 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Tue, 27 Jul 2010 18:41:18 +0000
(20:41 +0200)
This allows us to invoke inteface remotely
scripts/RFID-JSONP-server.pl
patch
|
blob
|
history
diff --git
a/scripts/RFID-JSONP-server.pl
b/scripts/RFID-JSONP-server.pl
index
34dfaa9
..
dbb51a8
100755
(executable)
--- a/
scripts/RFID-JSONP-server.pl
+++ b/
scripts/RFID-JSONP-server.pl
@@
-204,7
+204,7
@@
function got_visible_tags(data,textStatus) {
function scan_tags() {
console.info('scan_tags');
if ( $('input#pull-reader').attr('checked') )
- $.getJSON("
http://localhost:9000
/scan?callback=?", got_visible_tags);
+ $.getJSON("/scan?callback=?", got_visible_tags);
}
$(document).ready(function() {