[GH-ISSUE #310] Web asset fail load when offline #117

Closed
opened 2026-02-27 08:15:20 +03:00 by kerem · 4 comments
Owner

Originally created by @martadinata666 on GitHub (Oct 2, 2022).
Original GitHub issue: https://github.com/lldap/lldap/issues/310

As the title said, when the host gone offline and there is no cached static fonts and bootstrap the web management wont show anything (blank page). Use local defined bootstrap and fonts, so it doesn't need to fetch anything online.

Edit: i saw the Dockerfile that it download the fonts but somehow it doesnt exist

Originally created by @martadinata666 on GitHub (Oct 2, 2022). Original GitHub issue: https://github.com/lldap/lldap/issues/310 As the title said, when the host gone offline and there is no cached `static fonts` and `bootstrap` the web management wont show anything (blank page). Use local defined bootstrap and fonts, so it doesn't need to fetch anything online. Edit: i saw the Dockerfile that it download the fonts but somehow it doesnt exist
kerem closed this issue 2026-02-27 08:15:20 +03:00
Author
Owner

@martadinata666 commented on GitHub (Oct 2, 2022):

The assets downloaded but not used?

github.com/nitnelave/lldap@5402aa5aa2/app/index.html

Seems fetching over internet instead using local ?

<!-- gh-comment-id:1264701222 --> @martadinata666 commented on GitHub (Oct 2, 2022): The assets downloaded but not used? https://github.com/nitnelave/lldap/blob/5402aa5aa294a67ac0199c8dae5c4cbe27ca8f0a/app/index.html Seems fetching over internet instead using local ?
Author
Owner

@nitnelave commented on GitHub (Oct 4, 2022):

There's index_local.html for that: github.com/nitnelave/lldap@5402aa5aa2/app/index_local.html

You can see that it's copied correctly in the top-level Dockerfile: https://github.com/nitnelave/lldap/blob/main/Dockerfile#L48
but it's not the case for the automated images in CI. Would you mind updating them?

<!-- gh-comment-id:1267256897 --> @nitnelave commented on GitHub (Oct 4, 2022): There's `index_local.html` for that: https://github.com/nitnelave/lldap/blob/5402aa5aa294a67ac0199c8dae5c4cbe27ca8f0a/app/index_local.html You can see that it's copied correctly in the top-level Dockerfile: https://github.com/nitnelave/lldap/blob/main/Dockerfile#L48 but it's not the case for the automated images in CI. Would you mind updating them?
Author
Owner

@martadinata666 commented on GitHub (Oct 4, 2022):

for a long time just realized there is two index.html, i will add it. 👍🏼

<!-- gh-comment-id:1267261049 --> @martadinata666 commented on GitHub (Oct 4, 2022): for a long time just realized there is two `index.html`, i will add it. 👍🏼
Author
Owner

@martadinata666 commented on GitHub (Oct 8, 2022):

Closed by PR https://github.com/nitnelave/lldap/pull/311

<!-- gh-comment-id:1272355732 --> @martadinata666 commented on GitHub (Oct 8, 2022): Closed by PR https://github.com/nitnelave/lldap/pull/311
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/lldap-lldap#117
No description provided.