@@ -58,6 +58,18 @@ function createApp (argv = {}) {
5858 routeResolvedFile ( app , '/common/js/' , 'mashlib/dist/mashlib.min.js.map' )
5959 app . use ( '/.well-known' , express . static ( path . join ( __dirname , '../common/well-known' ) ) )
6060
61+ // Serve bootstrap from it's node_module directory
62+ routeResolvedFile ( app , '/common/css/' , 'bootstrap/dist/css/bootstrap.min.css' )
63+ routeResolvedFile ( app , '/common/css/' , 'bootstrap/dist/css/bootstrap.min.css.map' )
64+ routeResolvedFile ( app , '/common/fonts/' , 'bootstrap/dist/fonts/glyphicons-halflings-regular.eot' )
65+ routeResolvedFile ( app , '/common/fonts/' , 'bootstrap/dist/fonts/glyphicons-halflings-regular.svg' )
66+ routeResolvedFile ( app , '/common/fonts/' , 'bootstrap/dist/fonts/glyphicons-halflings-regular.ttf' )
67+ routeResolvedFile ( app , '/common/fonts/' , 'bootstrap/dist/fonts/glyphicons-halflings-regular.woff' )
68+ routeResolvedFile ( app , '/common/fonts/' , 'bootstrap/dist/fonts/glyphicons-halflings-regular.woff2' )
69+
70+ // Serve OWASP password checker from it's node_module directory
71+ routeResolvedFile ( app , '/common/js/' , 'owasp-password-strength-test/owasp-password-strength-test.js' )
72+
6173 // Add CORS proxy
6274 if ( argv . proxy ) {
6375 console . warn ( 'The proxy configuration option has been renamed to corsProxy.' )
0 commit comments