Commit 2eb5bec9 authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg

Revert "Minor update"

This reverts commit 017876ed.
parent 017876ed
......@@ -2,13 +2,12 @@
"name": "orcid",
"description": "ORCID Service",
"version": "0.1.0",
"main": "server.js",
"main": "",
"scripts": {
"start": "node server",
"dev": "webpack-dev-server --mode development --content-base public --config ./webpack.dev.config.js --host 127.0.0.1 ",
"build": "webpack --display-error-details -d",
"build:prod": "webpack -p --config ./webpack.prod.config.js",
"dev2": "webpack -p --config ./webpack.dev.config.js --watch"
"build:prod": "webpack -p --config ./webpack.prod.config.js"
},
"author": "Andreas Åkre Solberg <andreas.solberg@uninett.no>",
"license": "MIT",
......
......@@ -23,7 +23,7 @@ app.get('*', function (req, res) {
});
var port = process.env.VCAP_APP_PORT || 8080;
var port = process.env.VCAP_APP_PORT || 3000;
var server = app.listen(port, function() {
console.log('Running app at http://%s:%s', "127.0.0.1", port);
});
......@@ -20,7 +20,7 @@ class Authenticator {
authenticate() {
let opts = {}
opts.redirect_uri = 'http://127.0.0.1:8080/public/popupCallback.html'
opts.redirect_uri = 'http://127.0.0.1:8080/passiveResponse.html'
return this.jso.getToken(opts)
.then((token) => {
// console.error("Get Token returned ", token)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment