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:
parent
4f97b9c08c
commit
6a16393ec8
12
bin/copy_tr
12
bin/copy_tr
@ -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
|
6
frontend/dist/array.js
vendored
6
frontend/dist/array.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user