mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-08 09:01:03 -08:00
fix(electron): simplify production load and CI frontend build
Remove unused url.format import and switch from loadURL with a formatted file: URL to loadFile for production. This simplifies code, avoids manual file URL construction, and makes the production path loading more robust. Also update CI job to build the frontend via the NX command (npx nx build web --skip-nx-cache) instead of npm run build:frontend, aligning the workflow with the monorepo's canonical build command.
This commit is contained in:
1 parent
e279172dfe
commit
12a513802a
2 files changed
+3
-13
No files matched your search
@@ -41,7 +41,7 @@ jobs:
|
||||
run: pnpm install --no-frozen-lockfile
|
||||
|
||||
- name: Build frontend
|
||||
run: npm run build:frontend
|
||||
run: npx nx build web --skip-nx-cache
|
||||
|
||||
- name: Build backend
|
||||
run: npm run build:backend
|
||||
|
||||
Reference in new issue
Block a user