summary refs log tree commit diff stats
path: root/tools/dochack
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2016-09-09 21:00:06 +0200
committerAraq <rumpf_a@web.de>2016-09-09 21:00:06 +0200
commit0fd935332eca499f1c18ad6b9fef265d62d76061 (patch)
tree3658aa249a91722627d2a69697d8142d6c5cc483 /tools/dochack
parent3dfc86671005d033f6a7f3b68e0aeabeb1f4cfb9 (diff)
downloadNim-0fd935332eca499f1c18ad6b9fef265d62d76061.tar.gz
local theindex path is accepted too by browsers
Diffstat (limited to 'tools/dochack')
-rw-r--r--tools/dochack/dochack.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/dochack/dochack.nim b/tools/dochack/dochack.nim
index fbfbea007..79a0e7482 100644
--- a/tools/dochack/dochack.nim
+++ b/tools/dochack/dochack.nim
@@ -241,7 +241,7 @@ proc dosearch(value: cstring): Element =
     var stuff: Element
     {.emit: """
     var request = new XMLHttpRequest();
-    request.open("GET", "http://nim-lang.org/0.15.0/theindex.html", false);
+    request.open("GET", "theindex.html", false);
     request.send(null);
 
     var doc = document.implementation.createHTMLDocument("theindex");