Skip to content

Commit

Permalink
Fix: Variable error
Browse files Browse the repository at this point in the history
  • Loading branch information
Luisotee committed Jan 21, 2025
1 parent 19711d3 commit 4b4e4de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions apps/landingpage/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
<script>
window.op = window.op||function(...args){(window.op.q=window.op.q||[]).push(args);};
window.op('init', {
clientId: '%VITE_OPENPANEL_CLIENT_ID%',
clientId: '<%- VITE_OPENPANEL_CLIENT_ID %>',
trackScreenViews: true,
trackOutgoingLinks: true,
trackAttributes: true,
});
</script>
<script src="https://openpanel.dev/op1.js" defer async></script>
</body>
</html>
</html>
2 changes: 1 addition & 1 deletion apps/landingpage/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default defineConfig({
port: config.ports.landingpage,
},
define: {
"process.env.VITE_OPENPANEL_CLIENT_ID": JSON.stringify(
VITE_OPENPANEL_CLIENT_ID: JSON.stringify(
config.api_keys.openpanel.client_id,
),
},
Expand Down

0 comments on commit 4b4e4de

Please sign in to comment.