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

jaggery.conf errorPages expects json but not a list #111

Open
dlukyanov opened this issue Nov 28, 2014 · 0 comments
Open

jaggery.conf errorPages expects json but not a list #111

dlukyanov opened this issue Nov 28, 2014 · 0 comments

Comments

@dlukyanov
Copy link

http://jaggeryjs.org/documentation.jag?api=jagconf

the "errorPages" part of config described in documentation produces error on deploy

"errorPages": [{
"errorCode": "500",
"location": "/error1.html"
}, {
"errorCode": "404",
"location": "/error.html"
}],

in "docs" sample app itself "errorPages" described as

"errorPages":
{
"404":"/404.jag"
}

and works fine.

please fix the documentation.

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

No branches or pull requests

1 participant