Skip to content

Commit

Permalink
Merge pull request #161 from knuton/fix-driver-permissible-origin
Browse files Browse the repository at this point in the history
Fix permissible origin param for driver
  • Loading branch information
guyonvarch authored May 22, 2024
2 parents 12d4879 + 1839fac commit 603bd17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application.nix
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ rec {
description = "Dividat Driver";
# Run driver with permissible origin limited to the origin of the kiosk URL
serviceConfig.ExecStart = ''
${pkgs.dividat-driver}/bin/dividat-driver --permissible-origin $(echo "${config.playos.kioskUrl}" | grep -oP '^[^:]+://[^/]+')
/bin/sh -c '${pkgs.dividat-driver}/bin/dividat-driver --permissible-origin $(echo "${config.playos.kioskUrl}" | grep -oP "^[^:]+://[^/]+")'
'';
serviceConfig.User = "play";
wantedBy = [ "multi-user.target" ];
Expand Down

0 comments on commit 603bd17

Please sign in to comment.