baraqex 2.0.2 → 2.0.3

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.
package/dist/index.js CHANGED
@@ -3221,7 +3221,7 @@ var Server = class {
3221
3221
  if (fs4.existsSync(staticPath)) {
3222
3222
  this.app.use(express.default.static(staticPath));
3223
3223
  }
3224
- this.setupApiRoutes();
3224
+ await this.setupApiRoutes();
3225
3225
  this.setupPageRoutes();
3226
3226
  this.app.use(notFoundHandler);
3227
3227
  this.app.use(errorHandler);