mirror of
https://github.com/wekan/wekan.git
synced 2025-04-20 12:07:11 -04:00
Added path to capnp.js to make Wekan work on Sandstorm.
This commit is contained in:
parent
df5be82840
commit
11e9811f82
1 changed files with 3 additions and 1 deletions
|
@ -22,7 +22,9 @@ const sandstormBoard = {
|
|||
|
||||
if (isSandstorm && Meteor.isServer) {
|
||||
const fs = require('fs');
|
||||
const Capnp = require('/node_modules/capnp.js');
|
||||
const pathParts = process.cwd().split("/");
|
||||
var path = pathParts.join("/");
|
||||
const Capnp = Npm.require(path + "../../../node_modules/capnp.js");
|
||||
const Package = Capnp.importSystem('sandstorm/package.capnp');
|
||||
const Powerbox = Capnp.importSystem('sandstorm/powerbox.capnp');
|
||||
const Identity = Capnp.importSystem('sandstorm/identity.capnp');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue