fix: backward comp cache web script
This commit is contained in:
@@ -89,7 +89,7 @@ Once your proxy is running, you need to configure the OpenPanel script on your f
|
||||
|
||||
```html
|
||||
<script>
|
||||
window.op=window.op||function(){var n=[],o=new Proxy((function(){arguments.length>0&&n.push(Array.prototype.slice.call(arguments))}),{get:function(o,t){return"q"===t?n:function(){n.push([t].concat(Array.prototype.slice.call(arguments)))}}});return o}();
|
||||
window.op=window.op||function(){var n=[];return new Proxy(function(){arguments.length&&n.push([].slice.call(arguments))},{get:function(t,r){return"q"===r?n:function(){n.push([r].concat([].slice.call(arguments)))}} ,has:function(t,r){return"q"===r}}) }();
|
||||
window.op('init', {
|
||||
apiUrl: 'https://api.domain.com'
|
||||
clientId: 'YOUR_CLIENT_ID',
|
||||
|
||||
Reference in New Issue
Block a user