diff --git a/.config/heroku/config.json b/.config/heroku/config.json new file mode 100644 index 0000000..111b223 --- /dev/null +++ b/.config/heroku/config.json @@ -0,0 +1,6 @@ +{ + "skip_analytics": false, + "color": true, + "lock_version": "", + "lock_channel": "" +} \ No newline at end of file diff --git a/package.json b/package.json index cf8d94b..c261ee3 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "private": true, "engines": { "node": "8.10.0", - "npm": "6.0.0" + "npm": "5.6.0" } "scripts": { "start": "node ./bin/www" diff --git a/views/map.jade b/views/map.jade index 5cb3494..f85d6d2 100644 --- a/views/map.jade +++ b/views/map.jade @@ -14,7 +14,7 @@ block content script. function relocate_home() { - location.href = "http://127.0.0.1:3000/map/" + nome.value ; + location.href = "http://nexusbr.dyndns-ip.com:3000/map/" + nome.value ; } br #map @@ -25,7 +25,7 @@ block content osm = L.tileLayer(osmUrl, {attribution: osmAttrib}), map = L.map('map', {center: new L.LatLng(#{lat},#{lng}), zoom: #{fator_zoom}}), - wmsLayer= L.tileLayer.wms("http://localhost:8080/geoserver/saocaetano/wms", { + wmsLayer= L.tileLayer.wms("http://nexusbr.dyndns-ip.com:9080/geoserver/saocaetano/wms", { layers: 'saocaetano:quadras, saocaetano:redesAgua, saocaetano:noAgua, saocaetano:ramalAgua, saocaetano:ligacaoAgua', format: 'image/png', transparent: true, -- libgit2 0.21.2