Last active
August 29, 2015 14:17
-
-
Save kylemac/461b0a55a05f566ed33c to your computer and use it in GitHub Desktop.
how to configure charge in your app.coffee file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
charge_config = require './config.json' | |
module.exports = | |
# the rest of your roots configuration stuff | |
# this reads your config.json and configures charge | |
server: charge_config | |
# alternately you could define your key/values inline | |
# server: | |
# clean_urls: true | |
# spa: true | |
# log: 'tiny' | |
# error_page: 'error.html' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"clean_urls": true, | |
"spa": true, | |
"error_page": "error.html", | |
"gzip": true, | |
"log": "tiny" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment