Skip to content

Commit b7ca23a

Browse files
Fix: use assets from prototype kit in test app (#95)
This needs adding back in order to serve send-unchecked-checkboxes.js
1 parent c4f1662 commit b7ca23a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

testapp/app.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ app.use(
3434
express.static(join(__dirname, '../node_modules/nhsuk-frontend/dist/nhsuk'))
3535
)
3636

37+
// Use assets from NHS Prototype Kit
38+
app.use(
39+
'/nhsuk-prototype-kit-assets',
40+
express.static(join(__dirname, '../lib/assets'))
41+
)
42+
3743
const prototype = NHSPrototypeKit.init({
3844
serviceName: 'Test service',
3945
express: app,

0 commit comments

Comments
 (0)