Skip to content

Commit

Permalink
refactor: Switch back to crisp (#25)
Browse files Browse the repository at this point in the history
* refactor: Switch back to crisp

* update node version

* Fix node

* --openssl-legacy-provider

* Use node 16
  • Loading branch information
amaury1093 authored Mar 6, 2023
1 parent aa0a52e commit 3c042cc
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 14 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
- run: yarn install
- run: yarn test:lint
- run: yarn test:prettier
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
"homepage": "https://saasify.sh",
"license": "MIT",
"engines": {
"node": ">=10"
"node": "16.x"
},
"scripts": {
"update-deployment": "saasify get amaurymartiny/reacher@latest -o src/lib/deployment.json",
"start": "SKIP_PREFLIGHT_CHECK=true react-app-rewired start",
"build": "SKIP_PREFLIGHT_CHECK=true react-app-rewired build",
"start": "SKIP_PREFLIGHT_CHECK=true react-app-rewired start --openssl-legacy-provider",
"build": "SKIP_PREFLIGHT_CHECK=true react-app-rewired build --openssl-legacy-provider",
"analyze": "source-map-explorer 'build/static/js/*.js'",
"test": "run-s test:*",
"test:lint": "eslint .",
Expand Down
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<meta name="theme-color" content="#d23d67" />

<script defer src="https://js.stripe.com/v3/"></script>
<script defer src="/js/sendinblue.js"></script>
<script defer src="/js/crisp.js"></script>

<title>Reacher - Open-Source Email Verification API</title>
</head>
Expand Down
10 changes: 10 additions & 0 deletions public/js/crisp.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// https://crisp.chat/en/
window.$crisp = [];
window.CRISP_WEBSITE_ID = '76583d5a-660c-43a9-9fba-8c65c1cf9d49';
(function () {
d = document;
s = d.createElement('script');
s.src = 'https://client.crisp.chat/l.js';
s.async = 1;
d.getElementsByTagName('head')[0].appendChild(s);
})();
10 changes: 0 additions & 10 deletions public/js/sendinblue.js

This file was deleted.

1 comment on commit 3c042cc

@vercel
Copy link

@vercel vercel bot commented on 3c042cc Mar 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.