diff --git a/controllers/before-begin/views/index.jade b/controllers/before-begin/views/index.jade index 4fdfda9..6451dd9 100644 --- a/controllers/before-begin/views/index.jade +++ b/controllers/before-begin/views/index.jade @@ -10,4 +10,11 @@ block content saw in the tutorial : they are here to help you navigate in the scene. Use them or ignore them at your convenience. - p You can start when you're ready ! + button#next.btn.btn-success.navbar-btn(style={'margin-right':'10px', 'margin-bottom':'10px'}) + span Go to the next step + script. + document.getElementById('next').onclick = function() { + document.getElementById('next').disabled = true; + window.location = '/prototype/game'; + } + diff --git a/server.js b/server.js index 394207e..878508a 100644 --- a/server.js +++ b/server.js @@ -94,7 +94,7 @@ app.use(function(req, res) { var serverPort, serverIpAddress; if ( isDev ) { serverPort = 4000; - serverIpAddress = '147.127.121.42'; + serverIpAddress = 'localhost'; } else { // Openhift conf serverPort = process.env.OPENSHIFT_NODEJS_PORT || 8080;