diff --git a/package.json b/package.json index a6eac6f..3d33ded 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,7 @@ "name": "car-tools", "version": "0.1.0", "private": true, + "homepage": "https://outils.darkou.fr/", "dependencies": { "bootstrap": "^4.1.3", "react": "^16.4.1", @@ -12,7 +13,7 @@ }, "scripts": { "start": "react-scripts start", - "build": "react-scripts build", + "build": "react-scripts build && ssh guarda 'rm -r www/darkou.fr/outils/static' && scp -r build/* guarda:www/darkou.fr/outils", "test": "react-scripts test --env=jsdom", "eject": "react-scripts eject" }, diff --git a/public/index.html b/public/index.html index ed0ebaf..3aaecde 100644 --- a/public/index.html +++ b/public/index.html @@ -19,7 +19,7 @@ work correctly both with client-side routing and a non-root public URL. Learn how to configure a non-root public URL by running `npm run build`. --> - <title>React App</title> + <title>DarKou.fr :: outils</title> </head> <body> <noscript>