pdf_search 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/html/index.html +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f63e7ea8fea59ed2f7b365c9c246676e2f96df4711a7e778b9142e91517fa0dc
4
- data.tar.gz: e03b06a34adb1abd73818afd97c09c0df9498005b536b817250772b1f2e916f4
3
+ metadata.gz: 0065603502c39c83fa745999caddc68dddb1e20b2057ed5dada9c83bc13aee86
4
+ data.tar.gz: a00f82932808e7d7edb9315a30cb4bf88c4627ca69265257389e9f0a2d93dca3
5
5
  SHA512:
6
- metadata.gz: 8c1f0af7441a959c0945ffc4c50b0ce8f90c018ffc6c94c157c58e9f2816531cce57b491bbb5d7c7a507303d5dd60c3cd002e48089c051e0e26a1e3cd2219542
7
- data.tar.gz: 14afa726a107c7d432c5115227cbc133eecc232b6d832715bde979191da3700bdd9dcaf93e4cafc3df7e680e574fbb61056b1d3e62a42112a09d9b832e00d66c
6
+ metadata.gz: fba51e68bc3af4e94306fd17553b55703a2455b51e50c7e4a1b2bfa2f41f17a87d0aead727b5903f296d8150228bc884504d4aab89e2f393d86b47fa7604f39f
7
+ data.tar.gz: 890e67818d697c417e86590c3bdd15f3de67c3362d3c0b6d1cc34e704eccff9189846ff5fbbe444a6e471e42f2a2cd62c7f695024384f7b5b19b87a6be1ff39e
data/html/index.html CHANGED
@@ -9,7 +9,7 @@
9
9
  <script>
10
10
  document.getElementById('doSearch').addEventListener('click', function(e) {
11
11
  let Http = new XMLHttpRequest();
12
- let url= encodeURI("http://localhost:80/search?query="+document.getElementById('search').value);
12
+ let url= encodeURI(window.location.origin + "/search?query="+document.getElementById('search').value);
13
13
  Http.open("GET", url);
14
14
  Http.send();
15
15
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pdf_search
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Manuel Arno Korfmann