We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89fe55e commit d608422Copy full SHA for d608422
lib/create-app.js
@@ -40,12 +40,15 @@ function createApp (argv = {}) {
40
41
argv.host = SolidHost.from({ port: argv.port, serverUri: argv.serverUri })
42
43
- let configPath = initConfigPath(argv)
+ const configPath = initConfigPath(argv)
44
45
argv.templates = initTemplateDirs(configPath)
46
47
- let ldp = new LDP(argv)
48
- let app = express()
+ const ldp = new LDP(argv)
+ const app = express()
49
+
50
+ // Serve the public 'common' directory (for shared CSS files, etc)
51
+ app.use('/common', express.static('common'))
52
53
initAppLocals(app, argv, ldp)
54
0 commit comments