This file contains hidden or 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
| #!/bin/bash | |
| BASE_URL="https://letsencrypt.org/certs/" | |
| CERTIFICATES="lets-encrypt-x3-cross-signed.pem lets-encrypt-x4-cross-signed.pem lets-encrypt-x1-cross-signed.pem lets-encrypt-x2-cross-signed.pem" | |
| for CERTIFICATE in $CERTIFICATES; do | |
| echo "# $CERTIFICATE " | |
| curl --silent "${BASE_URL}${CERTIFICATE}" | openssl x509 -noout -fingerprint -sha256 -inform pem | cut -d'=' -f2 | tr '[:upper:]' '[:lower:]' | sed -e 's/://g' | | |
| done |
This file contains hidden or 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
| require('babel-polyfill'); | |
| var fs = require('fs'); | |
| var path = require('path'); | |
| var webpack = require('webpack'); | |
| var assetsPath = path.resolve(__dirname, '../static/dist'); | |
| var host = (process.env.HOST || 'localhost'); | |
| var port = (+process.env.PORT + 1) || 3001; | |
| var WebpackIsomorphicToolsPlugin = require('webpack-isomorphic-tools/plugin'); |