Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no CSS without internet #41

Closed
LucaMH opened this issue Dec 23, 2022 · 5 comments
Closed

no CSS without internet #41

LucaMH opened this issue Dec 23, 2022 · 5 comments
Labels
enhancement New feature or request

Comments

@LucaMH
Copy link

LucaMH commented Dec 23, 2022

Hi,

our internet went offline this morning and i checked all my containers for function without internet.

All of them seemed fine until i came around WatchYourLAN.
The CSS is pulled from the web.
Is there any chance to include them in the containers webserver?

Thanks!

@micalm
Copy link

micalm commented Jan 6, 2023

+1 - WYL is also useful in airgapped networks. Modifying a single line and downloading a bundle when building with a specific option could be a solution.

@aceberg
Copy link
Owner

aceberg commented Jan 6, 2023

Ok, I'll think of a way to solve this in next release

@aceberg aceberg added the enhancement New feature or request label Jan 6, 2023
@aceberg
Copy link
Owner

aceberg commented Jan 16, 2023

I have to admit, I don't know how to fix this yet.

I added -b option for local path to bootstrap and created Dockerfile.css which downloads all necessary files, but the app still can't work offline. Paths in header.html are edited, of course.

I'll research this topic further in the next versions.

@701josh
Copy link

701josh commented Mar 27, 2023

I'd love to see a custom CSS option!

@aceberg
Copy link
Owner

aceberg commented Jun 26, 2023

Hi! I created a separate container for all stuff from cdn (fonts were a bit tricky).
Here is a guide, how to install it: https://github.com/aceberg/WatchYourLAN#local-network-only

Please, donate, if you can. It will give me more time for Open Source projects)).

@aceberg aceberg closed this as completed Jul 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants