From e6b4cab694a41af25fd91705d005d48ae7e5c89b Mon Sep 17 00:00:00 2001 From: syamkumar Date: Thu, 11 Jun 2020 13:06:11 +0530 Subject: [PATCH] load from cdn and changes to csp --- cypress.json | 3 -- package.json | 1 - src/Components/Common/TopBar.tsx | 2 +- src/Router/AppRouter.tsx | 4 +-- src/Router/SessionRouter.tsx | 2 +- src/index.html | 56 ++++++++++---------------------- 6 files changed, 21 insertions(+), 47 deletions(-) delete mode 100644 cypress.json diff --git a/cypress.json b/cypress.json deleted file mode 100644 index c2eeebdf884..00000000000 --- a/cypress.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "projectId": "wu5g1v" -} diff --git a/package.json b/package.json index de805453469..37bcb78ee9b 100644 --- a/package.json +++ b/package.json @@ -105,7 +105,6 @@ "@fullhuman/postcss-purgecss": "^2.1.2", "@types/mocha": "^5.2.7", "css-loader": "^3.2.0", - "cypress": "^4.4.0", "eslint": "^6.4.0", "eslint-config-airbnb": "^18.0.1", "eslint-config-react-app": "^5.0.2", diff --git a/src/Components/Common/TopBar.tsx b/src/Components/Common/TopBar.tsx index bd252cf78ba..e2a6ef0da51 100644 --- a/src/Components/Common/TopBar.tsx +++ b/src/Components/Common/TopBar.tsx @@ -1,7 +1,7 @@ import React from "react"; const img = - "https://care-staging-coronasafe.s3.amazonaws.com/static/images/logos/black-logo.svg"; + "https://cdn.coronasafe.network/black-logo.svg"; const TopBar = () => { return (
diff --git a/src/Router/AppRouter.tsx b/src/Router/AppRouter.tsx index 4220adedf5b..7e0840a928a 100644 --- a/src/Router/AppRouter.tsx +++ b/src/Router/AppRouter.tsx @@ -31,9 +31,9 @@ import ManageUsers from "../Components/Users/ManageUsers"; import { UserAdd } from "../Components/Users/UserAdd"; import AmbulanceOnboarding from "../Components/Ambulance/AmbulanceOnboarding"; const img = - "https://care-staging-coronasafe.s3.amazonaws.com/static/images/logos/light-logo.svg"; + "https://cdn.coronasafe.network/light-logo.svg"; const logoBlack = - "https://care-staging-coronasafe.s3.amazonaws.com/static/images/logos/black-logo.svg"; + "https://cdn.coronasafe.network/black-logo.svg"; const routes = { "/": () => , diff --git a/src/Router/SessionRouter.tsx b/src/Router/SessionRouter.tsx index 726743533c2..9949b2d8f0e 100644 --- a/src/Router/SessionRouter.tsx +++ b/src/Router/SessionRouter.tsx @@ -25,7 +25,7 @@ const SessionRouter = () => {
Care Logo
diff --git a/src/index.html b/src/index.html index 19cfc9ea3e3..9df4e908479 100644 --- a/src/index.html +++ b/src/index.html @@ -11,57 +11,35 @@ - + content="https://cdn.coronasafe.network/ksdma_logo.png" /> + + content="https://cdn.coronasafe.network/ksdma_logo.png" /> - - - + + + Corona Care - - - - - - - + + + + + -
-