Install tandoor-recipes with extraConfig.SCRIPT_NAME set to a non-empty string and extraConfig.STATIC_URL = "${config.services.tandoor-recipes.extraConfig.SCRIPT_NAME}/static/"
Click the "+ Create" link in the middle of the page
The browser goes to /new/recipe/ on the current server
Expected behavior
The browser should go to '${config.services.tandoor-recipes.extraConfig.SCRIPT_NAME}/new/recipe/` instead (after substituting the actual value of the script name).
Screenshots
Notify maintainers
@ambroisie
Metadata
system: "x86_64-linux"
host os: Linux 6.6.49, NixOS, 24.11 (Vicuna), 24.11pre677397.574d1eac1c20
Describe the bug
Moving https://github.com/TandoorRecipes/recipes/issues/3300 here since it won't be fixed upstream.
Steps To Reproduce
Steps to reproduce the behavior:
extraConfig.SCRIPT_NAME
set to a non-empty string andextraConfig.STATIC_URL = "${config.services.tandoor-recipes.extraConfig.SCRIPT_NAME}/static/"
/new/recipe/
on the current serverExpected behavior
The browser should go to '${config.services.tandoor-recipes.extraConfig.SCRIPT_NAME}/new/recipe/` instead (after substituting the actual value of the script name).
Screenshots
Notify maintainers
@ambroisie
Metadata
"x86_64-linux"
Linux 6.6.49, NixOS, 24.11 (Vicuna), 24.11pre677397.574d1eac1c20
yes
yes
nix-env (Nix) 2.18.5
"nixos, nixos-hardware"
/nix/var/nix/profiles/per-user/root/channels/nixos
Add a :+1: reaction to issues you find important.