diff options
Diffstat (limited to 'make_bookmarklet/index.php')
| -rw-r--r-- | make_bookmarklet/index.php | 2 |
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', |
