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

Fix outage of bootswatch #425

Merged
merged 1 commit into from
Jul 6, 2018
Merged

Fix outage of bootswatch #425

merged 1 commit into from
Jul 6, 2018

Conversation

COhsrt
Copy link
Contributor

@COhsrt COhsrt commented Jul 6, 2018

bootswatch's https certificate got revoked, leaving all creepminer webinterfaces very messy.

copied stuff locally now

git pull
make install 

is enough for this change. no recompilation needed.

@Beddhist
Copy link

Beddhist commented Jul 6, 2018

How do I fix a pre-compiled Install?

@COhsrt
Copy link
Contributor Author

COhsrt commented Jul 6, 2018

On Linux:

# Path to your creepMiner installation -- please edit
cmpath=/home/miner/creepMiner

#
cd /tmp/
git clone https://github.com/COhsrt/creepMiner.git
cd creepMiner/resources/
cp public/index.html ${cmpath}/public/
cp -R public/css ${cmpath}/public/css
cp public/js/general.js ${cmpath}/public/js/general.js

On Windows:
download zip file from https://github.com/COhsrt/creepMiner
unpack.
Copy resources/public folder over your creepMiner installation (replace index.html and general.js)

@Beddhist
Copy link

Beddhist commented Jul 6, 2018

That worked when running as root, sort of. Thank you very much.

The only glitch: the css dir was copied into the css dir, as in public/css/css. Perhaps the source string needs a * appended?

Thank you very much.

@COhsrt
Copy link
Contributor Author

COhsrt commented Jul 6, 2018

removed the slash :)

@Creepsky Creepsky merged commit 7bfdd92 into Creepsky:master Jul 6, 2018
@nitr8
Copy link
Collaborator

nitr8 commented Jul 8, 2018

Noooo why use local - will move back to CDN should have switched to https://www.bootstrapcdn.com/bootswatch/

@COhsrt
Copy link
Contributor Author

COhsrt commented Jul 8, 2018

Because of CDN outages, Privacy issues and so on you should think about it.
Usually you are having your miner in your localnet anyway, so it's even faster to grab stuff from the miner than from the CDN.

@nitr8
Copy link
Collaborator

nitr8 commented Jul 8, 2018

@COhsrt - bollox - CDN have outages if you use the right CDN - and your miner needs internet access else it cant mine anyways all my 5 miners are on the internet.

I use CDN for a reason, the problem was we where not using real CDN but the bootswatch css. SO nothing to do with CDN but with the bootswatch sire SSL Certs

@COhsrt
Copy link
Contributor Author

COhsrt commented Jul 8, 2018

@nitr8 ofc it needs internet connection.
But usually you are viewing the interface of the miner using your localnet.
So if you reference an online CDN you have a connection to your miner while your miner is connected to your PC with atleast 100MBit (usually). But not everyone has an internet connection that fast (with a ping that low). So for now I don't see any reason to move stuff out of the miner's webserver.

And, if your miner is reachable via internet: think about GPDR.

@nitr8
Copy link
Collaborator

nitr8 commented Jul 8, 2018

@COhsrt

Not true - and I'm not going to argue this with you! and re GPDR - get lost please what data do you want me to protect? sure - breach my fw / then my reverse proxy then my SSL certs / GPDR don't come into play here.

If you want to take this future - come speak on discord but this if for issue tracking, not feedback and comments.

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.

4 participants