From 099f5bec64a1cf3fd33bc2e4c91a8975be614491 Mon Sep 17 00:00:00 2001 From: Alice Gaudon Date: Tue, 25 May 2021 12:14:52 +0200 Subject: [PATCH] Use local version of font-awesome instead of cdn --- frontend/connection_error.html | 5 +---- frontend/file_not_found_error.html | 5 +---- frontend/index.html | 5 +---- frontend/sass/layout.scss | 2 ++ frontend/service-settings.html | 5 +---- frontend/settings.html | 5 +---- webpack.config.js | 3 --- 7 files changed, 7 insertions(+), 23 deletions(-) diff --git a/frontend/connection_error.html b/frontend/connection_error.html index c3de7e5..0f8dd3f 100644 --- a/frontend/connection_error.html +++ b/frontend/connection_error.html @@ -4,10 +4,7 @@ An error occured - - + content="style-src 'self' 'unsafe-inline'; font-src 'self'; script-src 'self'"> diff --git a/frontend/file_not_found_error.html b/frontend/file_not_found_error.html index f2bccb9..3ca26d9 100644 --- a/frontend/file_not_found_error.html +++ b/frontend/file_not_found_error.html @@ -4,10 +4,7 @@ An error occured - - + content="style-src 'self' 'unsafe-inline'; font-src 'self'; script-src 'self'"> diff --git a/frontend/index.html b/frontend/index.html index 4f33f13..155b2f4 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -4,10 +4,7 @@ Tabs - - - + diff --git a/frontend/sass/layout.scss b/frontend/sass/layout.scss index 24f32c9..202527c 100644 --- a/frontend/sass/layout.scss +++ b/frontend/sass/layout.scss @@ -1,3 +1,5 @@ +@import url('../../node_modules/@fortawesome/fontawesome-free/css/all.css'); + * { box-sizing: border-box; } diff --git a/frontend/service-settings.html b/frontend/service-settings.html index c2673cd..a9ed785 100644 --- a/frontend/service-settings.html +++ b/frontend/service-settings.html @@ -4,10 +4,7 @@ Service settings - - - + diff --git a/frontend/settings.html b/frontend/settings.html index 9412b3e..84d7e35 100644 --- a/frontend/settings.html +++ b/frontend/settings.html @@ -5,10 +5,7 @@ Service settings - - + content="style-src 'self' 'unsafe-inline'; font-src 'self'; script-src 'self' 'sha256-UoPUIMX0PZl7cy3YoegZ0EDleSaHxTURPMyK09xsa0E='"> diff --git a/webpack.config.js b/webpack.config.js index 6db54ef..aba8946 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -37,9 +37,6 @@ const config = { use: [ { loader: MiniCssExtractPlugin.loader, - options: { - publicPath: '/', - } }, 'css-loader', 'sass-loader',