summaryrefslogtreecommitdiff
path: root/make_bookmarklet/index.php
diff options
context:
space:
mode:
authorDavid T. Sadler <davidtsadler@googlemail.com>2021-07-08 21:47:20 +0100
committerDavid T. Sadler <davidtsadler@googlemail.com>2021-07-08 21:47:20 +0100
commitea1269577fcd9d9b05f4b29ae2ad0d7c4c9a6ca2 (patch)
tree1042a5c01b93e5786a626343b19e6d5ad4275d48 /make_bookmarklet/index.php
parent1155220fd5c94fa9769c55597575437581170c16 (diff)
Shorten urls
Diffstat (limited to 'make_bookmarklet/index.php')
-rw-r--r--make_bookmarklet/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/make_bookmarklet/index.php b/make_bookmarklet/index.php
index f964003..67dea14 100644
--- a/make_bookmarklet/index.php
+++ b/make_bookmarklet/index.php
@@ -7,7 +7,7 @@ $config = require_once(__DIR__.'/../config.php');
$booklet = <<< EOF_JS
javascript: (() => {
async function bookmarkPage(page) {
- const response = await fetch('{$config['site']}/bookmarks/add/', {
+ const response = await fetch('{$config['site']}/add/', {
method: 'POST',
mode: 'cors',
cache: 'no-cache',