board
board copied to clipboard
Resolve fonts.googleapis.com at build-time, not at runtime
Expected Behavior
When running RestyaBoard in a browser, I would expect it to be self-contained, and to not rely any resources (eg. fonts, JS libraries, etc) provided by third-party servers/companies. The reason is that, when downloaded from third parties (eg. Google), such resources are used as a mean for tracking their users.
Current Behavior
Currently, RestyaBoard has a hard-coded dependency to fonts.googleapis.com/css?family=Open+Sans
, which means RestyaBoard running in a browser will always try to reach servers from Google. This means Google can track RestyaBoard users, to some extent.
See this line from index.html
https://github.com/RestyaPlatform/board/blob/9c34b6b59ee2665e78a54c5f3a887beba6a19c4b/client/index.html#L13
Screenshots (if appropriate):
Possible Solution
Steps to Reproduce (for bugs)
- Download the provided
docker-compose
file. - Change the volume declarations as required for the local bindings.
- Run
docker-compose up
- Open Firefox (without addons)
- Open the developer tab (ctrl+shift+c), reach the network section
- Open http://localhost:1234
Context
Your Environment
- Version used: 1.7.1
- Environment name and version (e.g. OS, PHP, PostgreSQL): using the provided
docker-compose
file. - Operating System and version (desktop or mobile): desktop
- Link to your project: N/A