Skip to content

Commit

Permalink
docs: fix import bookmarklet trailing slashes (#4057)
Browse files Browse the repository at this point in the history
  • Loading branch information
vahtos authored Aug 20, 2024
1 parent 2cd1e0a commit 34c37a2
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ You can use bookmarklets to generate a bookmark that will take your current loca
You can use a [bookmarklet generator site](https://caiorss.github.io/bookmarklet-maker/) and the code below to generate a bookmark for your site. Just change the `http://localhost:8080` to your sites web address and follow the instructions.

```js
var url = document.URL;
var url = document.URL.endsWith('/') ?
document.URL.slice(0, -1) :
document.URL;
var mealie = "http://localhost:8080";
var group_slug = "home" // Change this to your group slug. You can obtain this from your URL after logging-in to Mealie
var use_keywords= "&use_keywords=1" // Optional - use keywords from recipe - update to "" if you don't want that
Expand Down

0 comments on commit 34c37a2

Please sign in to comment.