Make /_config/*.jst use ES6 superclass calls, fix failure to await the superclass...
[ndcode_site.git] / _config / server.jst
index e6ebffc..f0cd853 100644 (file)
@@ -1,4 +1,6 @@
-return async (resources, prev_server) => new _jst_server.Server(
+let jst_server = (await import('@ndcode/jst_server')).default
+
+return async (resources, prev_server) => new jst_server.Server(
   resources,
   {
     hosts: {