Skip to content

Commit

Permalink
Merge pull request #63 from HSLdevcom/DT-2642
Browse files Browse the repository at this point in the history
Add Rovaniemi
  • Loading branch information
pailakka authored Jun 6, 2018
2 parents 35e4dfd + d121517 commit 928337a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ http {
dev-oulu.digitransit.fi oulu.digitransit.fi
dev-turku.digitransit.fi turku.digitransit.fi reittiopas.foli.fi
dev-tampere.digitransit.fi tampere.digitransit.fi pilottirepa.tampere.fi
dev-kouvola.digitransit.fi kouvola.digitransit.fi;
dev-kouvola.digitransit.fi kouvola.digitransit.fi
dev-rovaniemi.digitransit.fi rovaniemi.digitransit.fi;
listen 8080;

if ($http_x_forwarded_proto != "https") {
Expand Down
2 changes: 1 addition & 1 deletion test.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ describe('matka ui', function() {

describe('waltti ui', function() {
const cities = ['hameenlinna', 'jyvaskyla', 'joensuu', 'kotka', 'kuopio', 'lahti',
'lappeenranta', 'mikkeli', 'oulu', 'turku', 'tampere', 'kouvola'];
'lappeenranta', 'mikkeli', 'oulu', 'turku', 'tampere', 'kouvola', 'rovaniemi'];

cities.forEach(function(city) {
testRedirect('dev-'+city+'.digitransit.fi','/kissa','https://dev-'+city+'.digitransit.fi/kissa');
Expand Down
2 changes: 2 additions & 0 deletions test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,6 @@ STATUS=$?
echo stopping proxy-container $CONTAINER_ID
docker stop $CONTAINER_ID

kill -9 $PID

exit $STATUS

0 comments on commit 928337a

Please sign in to comment.