summary refs log tree commit diff stats
path: root/assets/tmpl/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'assets/tmpl/index.html')
-rw-r--r--assets/tmpl/index.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/assets/tmpl/index.html b/assets/tmpl/index.html
index e702d08..a1fe1ab 100644
--- a/assets/tmpl/index.html
+++ b/assets/tmpl/index.html
@@ -27,29 +27,29 @@
 /api/plain/tweets
 /api/plain/tags</code></pre>
   <p>Query by user:</p>
-        <pre><code>$ curl 'https://getwtxt.example.com/api/plain/users?q=foo'
+        <pre><code>$ curl '{{.URL}}/api/plain/users?q=foo'
 foo               https://example.com/twtxt.txt     2019-05-09T08:42:23.000Z
 foobar            https://example2.com/twtxt.txt    2019-03-14T19:23:00.000Z
 foo_barrington    https://example3.com/twtxt.txt    2019-05-01T15:59:39.000Z</code></pre>
           <p>Query by tweet content:</p>
-        <pre><code>$ curl 'https://getwtxt.example.com/api/plain/tweets?q=getwtxt'
+        <pre><code>$ curl '{{.URL}}/api/plain/tweets?q=getwtxt'
 foo_barrington    https://example3.com/twtxt.txt    2019-04-30T06:00:09.000Z    I just built getwtxt, time to set it up!</code></pre>
           <p>Query by mention:</p>
-        <pre><code>$ curl 'https://getwtxt.example.com/api/plain/mentions?url=https://foobarrington.co.uk/twtxt.txt'
+        <pre><code>$ curl '{{.URL}}/api/plain/mentions?url=https://foobarrington.co.uk/twtxt.txt'
 foo    https://example.com/twtxt.txt    2019-02-26T11:06:44.000Z    @<foo_barrington https://example3.com/twtxt.txt> Hey!! Are you still working on that project?</code></pre>
           <p>Query by tag:</p>
-        <pre><code>$ curl 'https://getwtxt.example.com/api/plain/tags/programming'
+        <pre><code>$ curl '{{.URL}}/api/plain/tags/programming'
 foo    https://example.com/twtxt.txt    2019-03-01T09:31:02.000Z    I love #programming!</code></pre>
           <p>Get latest 20 tweets:</p>
-        <pre><code>$ curl 'https://getwtxt.example.com/api/plain/tweets'
+        <pre><code>$ curl '{{.URL}}/api/plain/tweets'
 foobar    https://example2.com/twtxt.txt    2019-05-13T12:46:20.000Z    It's been a busy day at work!
 ...</code></pre>
           <p>Get all users:</p>
-        <pre><code>$ curl 'https://getwtxt.example.com/api/plain/users'
+        <pre><code>$ curl '{{.URL}}/api/plain/users'
 foo_barrington    https://example3.com/twtxt.txt    2018-11-21T18:31:00.000Z
 ...</code></pre>
           <p>Add new user:</p>
-        <pre><code>$ curl -X POST 'https://getwtxt.example.com/api/plain/users?url=https://example3.com/twtxt.txt&nickname=foo_barrington'
+        <pre><code>$ curl -X POST '{{.URL}}/api/plain/users?url=https://example3.com/twtxt.txt&nickname=foo_barrington'
 OK</code></pre>
     </div>
     <div id="info">
count rename"' href='/danisanti/profani-tty/commit/tests/test_cmd_account.h?id=e14b4ef558ccec2f77a42a192b74b0eba0cf541a'>e14b4ef5 ^
52f6ad6f ^


52f6ad6f ^



9b41c4ee ^
8adca66f ^
ae4c2781 ^
3b2446c4 ^
f6da9444 ^


de06c40d ^
de06c40d ^
c20e38a4 ^


76e7a834 ^


ba66d6b7 ^

f47bd58a ^




7a63cf2e ^



6d6bc67d ^
122fe09c ^

122fe09c ^
f6da9444 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56