From 6784c30fa09f2cd7326fc55097cf4fccebb2dbd5 Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Thu, 1 Nov 2018 08:20:33 +0100 Subject: [PATCH] Ensured react router uses homepage defined in package.jsoin as basename --- package.json | 1 + public/index.html | 6 ++++-- src/index.js | 3 ++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 2841b8ef..bd22d155 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "description": "A React-based progressive web application for shlink", "version": "1.0.0", "private": false, + "homepage": "", "scripts": { "lint": "yarn lint:js && yarn lint:css", "lint:js": "eslint src test scripts config", diff --git a/public/index.html b/public/index.html index 00c6003c..93ef4343 100644 --- a/public/index.html +++ b/public/index.html @@ -4,17 +4,19 @@ + + + + - -