Quellcode durchsuchen

web: recipes iframe loads /recipes with the token (the page document itself is token-gated)

Alexander Korolev vor 1 Monat
Ursprung
Commit
36872f238c
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      src/web/ui.html

+ 1 - 1
src/web/ui.html

@@ -1703,7 +1703,7 @@ function openRecipes(g) {
   recipesWin = makeWin({
     id: "win-recipes", title: "Recipes", x: r("left", 24), y: r("top", 24),
     w: r("width", Math.min(1180, innerWidth - 48)), h: r("height", Math.min(760, innerHeight - 80)),
-    bodyHtml: `<iframe src="/recipes" title="recipes report"></iframe>`,
+    bodyHtml: `<iframe src="${auth("/recipes")}" title="recipes report"></iframe>`,
     extraCls: "recwin",
     removeOnClose: true,
     onClosed: () => { recipesWin = null; },