Commit b376ab61 authored by Andrew Marshall's avatar Andrew Marshall
Browse files

frigate: Remove BASE_PATH from webmanifest

Just as we do elsewhere, needs to be removed from here to work correctly
with the Frigate NixOS module.

Without this, the webmanifest (at least on iOS Safari) is mostly ignored
and does not get standalone UI etc.
parent 00c21e4c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -14,6 +14,8 @@ buildNpmPackage {
  postPatch = ''
    substituteInPlace package.json \
      --replace-fail "--base=/BASE_PATH/" ""
    substituteInPlace site.webmanifest \
      --replace-fail '/BASE_PATH/' '/'

    substituteInPlace \
      src/pages/Exports.tsx \