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 @@ ...@@ -2,13 +2,12 @@
"name": "orcid", "name": "orcid",
"description": "ORCID Service", "description": "ORCID Service",
"version": "0.1.0", "version": "0.1.0",
"main": "server.js", "main": "",
"scripts": { "scripts": {
"start": "node server", "start": "node server",
"dev": "webpack-dev-server --mode development --content-base public --config ./webpack.dev.config.js --host 127.0.0.1 ", "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": "webpack --display-error-details -d",
"build:prod": "webpack -p --config ./webpack.prod.config.js", "build:prod": "webpack -p --config ./webpack.prod.config.js"
"dev2": "webpack -p --config ./webpack.dev.config.js --watch"
}, },
"author": "Andreas Åkre Solberg <andreas.solberg@uninett.no>", "author": "Andreas Åkre Solberg <andreas.solberg@uninett.no>",
"license": "MIT", "license": "MIT",
......
...@@ -23,7 +23,7 @@ app.get('*', function (req, res) { ...@@ -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() { var server = app.listen(port, function() {
console.log('Running app at http://%s:%s', "127.0.0.1", port); console.log('Running app at http://%s:%s', "127.0.0.1", port);
}); });
...@@ -20,7 +20,7 @@ class Authenticator { ...@@ -20,7 +20,7 @@ class Authenticator {
authenticate() { authenticate() {
let opts = {} 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) return this.jso.getToken(opts)
.then((token) => { .then((token) => {
// console.error("Get Token returned ", 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