Make /_config/*.jst use ES6 superclass calls, fix failure to await the superclass...
[ndcode_site.git] / _config / server.jst
1 let jst_server = (await import('@ndcode/jst_server')).default
2
3 return async (resources, prev_server) => new jst_server.Server(
4   resources,
5   {
6     hosts: {
7       'localhost': {
8         type: 'site',
9         root: '.'
10       },
11       'localhost.localdomain': {
12         type: 'redirect',
13         host: 'localhost'
14       }
15     }
16   },
17   prev_server
18 )