kopia lustrzana https://github.com/jakecoppinger/safe-cycling-map
Add deploy script and clean up
rodzic
71641eeaeb
commit
4e61372e26
|
@ -64,7 +64,8 @@
|
|||
"scripts": {
|
||||
"start": "PORT=5000 node scripts/start.js",
|
||||
"build": "node scripts/build.js",
|
||||
"test": "node scripts/test.js"
|
||||
"test": "node scripts/test.js",
|
||||
"deploy": "npm run build && rsync -r --progress build/ ../deploy-safe-cycling-map/"
|
||||
},
|
||||
"eslintConfig": {
|
||||
"extends": "react-app"
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
safecyclingmap.com
|
|
@ -10,7 +10,7 @@ export function Map() {
|
|||
|
||||
const [lng, setLng] = useState(151.21084276742022);
|
||||
const [lat, setLat] = useState(-33.8720286260115);
|
||||
const [zoom, setZoom] = useState(17);
|
||||
const [zoom, setZoom] = useState(18);
|
||||
|
||||
useEffect(() => {
|
||||
// This is called on every pan
|
||||
|
@ -61,7 +61,7 @@ export function Map() {
|
|||
<div>
|
||||
<div className="sidebar">
|
||||
<label>
|
||||
A work in progrss side project by{" "}
|
||||
A work in progress side project by{" "}
|
||||
<a
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
|
|
Ładowanie…
Reference in New Issue