- No build step
- CORS loading of modules
- etc...
Genuine use case. I appreciate that.
var nconf = require('nconf'); | |
var yaml = require('js-yaml'); | |
var app_config = __dirname + '../config/application.yml'; | |
// load cmd line args and environment vars | |
nconf.argv().env(); | |
// load a yaml file using a custom formatter | |
nconf.file({ |
# Change YOUR_TOKEN to your prerender token | |
# Change example.com (server_name) to your website url | |
# Change /path/to/your/root to the correct value | |
server { | |
listen 80; | |
server_name example.com; | |
root /path/to/your/root; | |
index index.html; |
import webapp2 | |
import urllib2 | |
import urllib | |
import json | |
## CHANGE THIS | |
CLIENT_ID = "vYPeq7LGf1utg2dbDlGKCwGKgy94lPH0" | |
CLIENT_SECRET = "DLQ5dWkNMwPlUWo2jqVkbG1PFyeMvV60HEJaW0FioeI4ZxGaAW73BiqRBZmRk29v" | |
DOMAIN = "contoso.auth0.com" | |
CALLBACK_URL = "http://localhost:8080/callback" |