Add remote2
as a remote
$ git remote -v
remote2 [email protected]:repo2.git (fetch)
remote2 [email protected]:repo2.git (push)
origin [email protected]:repo.git (fetch)
origin [email protected]:repo.git (push)
{ | |
"AL": "Alabama", | |
"AK": "Alaska", | |
"AS": "American Samoa", | |
"AZ": "Arizona", | |
"AR": "Arkansas", | |
"CA": "California", | |
"CO": "Colorado", | |
"CT": "Connecticut", | |
"DE": "Delaware", |
Add remote2
as a remote
$ git remote -v
remote2 [email protected]:repo2.git (fetch)
remote2 [email protected]:repo2.git (push)
origin [email protected]:repo.git (fetch)
origin [email protected]:repo.git (push)
When Invalid Host Header when ngrok tries to connect to Angular or React dev server use this form for run ngrok. | |
ngrok http 8080 -host-header="localhost:8080" | |
ngrok http --host-header=rewrite 8080 |
// middleware.js | |
exports.filesUpload = function(req, res, next) { | |
// See https://cloud.google.com/functions/docs/writing/http#multipart_data | |
const busboy = new Busboy({ | |
headers: req.headers, | |
limits: { | |
// Cloud functions impose this restriction anyway | |
fileSize: 10 * 1024 * 1024, | |
} |