clovie 0.2.8 → 0.2.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -40,7 +40,7 @@ export const createClovie = async (config = {}) => {
40
40
  }
41
41
 
42
42
  if (opts.type === 'server' || opts.mode === 'development') {
43
- clovie.install(Server);
43
+ clovie.install(Server.configure(opts));
44
44
  }
45
45
 
46
46
  if (opts.mode === 'development') {
@@ -38,7 +38,7 @@ export class Run extends ServiceProvider {
38
38
  await opts.beforeListen(useContext, opts);
39
39
  }
40
40
 
41
- await server.listen(opts);
41
+ await server.listen();
42
42
 
43
43
  if (typeof opts.afterListen === 'function') {
44
44
  await opts.afterListen(useContext, opts, server.getHttpServer());
@@ -64,7 +64,7 @@ export class Run extends ServiceProvider {
64
64
  }
65
65
 
66
66
  if (server) {
67
- await server.listen(configurator.opts);
67
+ await server.listen();
68
68
  }
69
69
 
70
70
  if (typeof configurator.opts.afterListen === 'function') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clovie",
3
- "version": "0.2.8",
3
+ "version": "0.2.9",
4
4
  "description": "Vintage web dev tooling with modern quality of life",
5
5
  "keywords": [
6
6
  "static-site-generator",