Skip to content

Conversation

@Nerivec
Copy link
Collaborator

@Nerivec Nerivec commented Jun 30, 2025

Allow to disable internal serving for standalone frontend use cases (e.g.).

Also:

  • cleanup express-static-gzip related stuff - @bdolgov can you double-check things related to previous issues (has been fixed for a while from what I saw in PRs)?

TODO:

  • No check if data.joinPath("device_icons") exists, how does that affect deviceIconsFileServer handler?
  • Need to figure out the scenario: device_icons serving + standalone frontend serving
  • Tests

@Nerivec Nerivec force-pushed the external-serving branch 5 times, most recently from 6f56428 to c073685 Compare July 7, 2025 10:18
@Nerivec Nerivec force-pushed the external-serving branch from 0d72ab1 to 774eeee Compare July 8, 2025 14:44
@Nerivec Nerivec changed the title feat: allow external frontend serving without internal feat: allow to disable internal frontend UI serving for standalone serving Jul 8, 2025
@Koenkk
Copy link
Owner

Koenkk commented Jul 9, 2025

No check if data.joinPath("device_icons") exists, how does that affect deviceIconsFileServer handler?

When there are no device_icons the deviceIconsFileServer is never called, so I guess that is why it doesn't give any problems.

Need to figure out the scenario: device_icons serving + standalone frontend serving

I think the standalone server should be responsible for serving in this case

@Nerivec Nerivec force-pushed the external-serving branch from 843ddad to b270166 Compare July 9, 2025 13:18
@Nerivec Nerivec marked this pull request as ready for review July 9, 2025 13:21
@Nerivec Nerivec force-pushed the external-serving branch from b270166 to 16bde5a Compare July 11, 2025 19:08
@Koenkk Koenkk merged commit 0215e76 into Koenkk:dev Jul 12, 2025
11 checks passed
@Koenkk
Copy link
Owner

Koenkk commented Jul 12, 2025

thanks!

Koenkk added a commit to Koenkk/zigbee2mqtt.io that referenced this pull request Jul 12, 2025
@Nerivec Nerivec deleted the external-serving branch July 12, 2025 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants