Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Http config issue: #37

Open
ghorofamike opened this issue Dec 28, 2020 · 1 comment
Open

Http config issue: #37

ghorofamike opened this issue Dec 28, 2020 · 1 comment

Comments

@ghorofamike
Copy link

this is the backtrace of the error when running this app:

/wildduck-webmail/app.js:97
if (config.service.sso.http.enabled) {
                       ^

TypeError: Cannot read property 'http' of undefined
    at Object.<anonymous> (/wildduck/app.js:97:24)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at db.connect.err (/wildduck/server.js:30:17)
    at Object.module.exports.connect (/wildduck/lib/db.js:10:12)

same as what was done in the parent wildduck repo in this fix: here might be needed here too. but its a guess

@laurivosandi
Copy link
Contributor

Feel free to submit PR or just keep the [sso] section in the config file intact

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants