0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-22 08:40:03 +01:00

Update array.js to use api_host rather than app_host for editor

This commit is contained in:
Tim Glaser 2020-02-14 16:11:39 -08:00
parent 4f97b9c08c
commit 6a16393ec8
2 changed files with 3 additions and 15 deletions

View File

@ -1,12 +0,0 @@
cd ../mixpanel-js
npm run build-dist
cd ../posthog
cp ../mixpanel-js/build/mixpanel.min.js frontend/dist/tr.js
sed -i -e 's/mixpanel/posthog/g' frontend/dist/tr.js
sed -i -e 's/Mixpanel/Posthog/g' frontend/dist/tr.js
sed -i -e 's/mp_/ph_/g' frontend/dist/tr.js
sed -i -e 's/track\//e\//g' frontend/dist/tr.js
sed -i -e 's/api-js\./t\./g' frontend/dist/tr.js
git add frontend/dist/tr.js -f

File diff suppressed because one or more lines are too long