Skip to content

Commit

Permalink
feat(DTFS2-NONE): update favicon to tudor crown
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexBramhill committed Apr 3, 2024
1 parent 38fa9a1 commit 3c8b7f2
Show file tree
Hide file tree
Showing 17 changed files with 33 additions and 33 deletions.
2 changes: 1 addition & 1 deletion gef-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"express-session": "1.17.3",
"filesize": "9.0.11",
"form-data": "4.0.0",
"govuk-frontend": "4.6.0",
"govuk-frontend": "^4.8.0",
"http-errors": "^2.0.0",
"imask": "^6.6.3",
"joi": "^17.12.2",
Expand Down
2 changes: 1 addition & 1 deletion gef-ui/public/css/styles.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion gef-ui/public/js/govukFrontend.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion gef-ui/public/js/govukFrontend.js.map

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions gef-ui/server/generateApp.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,7 @@ const routes = require('./routes');
const supportingInformationUploadRoutes = require('./routes/supporting-information-upload');
const healthcheck = require('./healthcheck');
const configureNunjucks = require('./nunjucks-configuration');
const {
csrfToken,
copyCsrfTokenFromQueryToBody,
security,
seo,
createRateLimit,
} = require('./middleware');
const { csrfToken, copyCsrfTokenFromQueryToBody, security, seo, createRateLimit } = require('./middleware');

dotenv.config();

Expand Down Expand Up @@ -104,11 +98,17 @@ const generateApp = () => {
watch: true,
});

app.use(morgan('dev', {
skip: (req) => req.url.startsWith('/assets') || req.url.startsWith('/main.js'),
}));

app.use('/assets', express.static(path.join(__dirname, '..', 'public')));
app.use(
morgan('dev', {
skip: (req) => req.url.startsWith('/assets') || req.url.startsWith('/main.js'),
}),
);

app.use(
'/assets',
express.static(path.join(__dirname, '..', 'node_modules', 'govuk-frontend', 'govuk', 'assets')),
express.static(path.join(__dirname, '..', 'public')),
);

app.use(createRateLimit());

Expand Down
2 changes: 1 addition & 1 deletion gef-ui/webpack.common.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module.exports = {
resolve: {
// resolves paths in library files that we don't control, pointing them to the root hoisted dependencies
alias: {
'node_modules/govuk-frontend': path.resolve(__dirname, '../node_modules/govuk-frontend/dist'),
'node_modules/govuk-frontend': path.resolve(__dirname, '../node_modules/govuk-frontend'),
'node_modules/@ministryofjustice': path.resolve(__dirname, '../node_modules/@ministryofjustice'),
},
},
Expand Down
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion portal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"express-rate-limit": "^6.11.2",
"express-session": "1.17.3",
"form-data": "4.0.0",
"govuk-frontend": "4.6.0",
"govuk-frontend": "^4.8.0",
"http-errors": "^2.0.0",
"imask": "^6.6.3",
"joi": "^17.12.2",
Expand Down
2 changes: 1 addition & 1 deletion portal/public/css/styles.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion portal/public/js/govukFrontend.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion portal/public/js/govukFrontend.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion portal/webpack.common.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ module.exports = {
resolve: {
// resolves paths in library files that we don't control, pointing them to the root hoisted dependencies
alias: {
'node_modules/govuk-frontend': path.resolve(__dirname, '../node_modules/govuk-frontend/dist'),
'node_modules/govuk-frontend': path.resolve(__dirname, '../node_modules/govuk-frontend'),
'node_modules/@ministryofjustice': path.resolve(__dirname, '../node_modules/@ministryofjustice'),
},
},
Expand Down
2 changes: 1 addition & 1 deletion trade-finance-manager-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"express-session": "1.17.3",
"express-validator": "7.0.1",
"express-xss-sanitizer": "^1.1.9",
"govuk-frontend": "4.6.0",
"govuk-frontend": "^4.8.0",
"imask": "^6.6.3",
"joi": "^17.12.2",
"jquery": "3.6.4",
Expand Down
2 changes: 1 addition & 1 deletion trade-finance-manager-ui/public/css/styles.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion trade-finance-manager-ui/public/js/govukFrontend.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion trade-finance-manager-ui/public/js/govukFrontend.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion trade-finance-manager-ui/webpack.common.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ module.exports = {
resolve: {
// resolves paths in library files that we don't control, pointing them to the root hoisted dependencies
alias: {
'node_modules/govuk-frontend': path.resolve(__dirname, '../node_modules/govuk-frontend/dist'),
'node_modules/govuk-frontend': path.resolve(__dirname, '../node_modules/govuk-frontend'),
'node_modules/@ministryofjustice': path.resolve(__dirname, '../node_modules/@ministryofjustice'),
},
},
Expand Down

0 comments on commit 3c8b7f2

Please sign in to comment.