mirror of
https://github.com/formbricks/formbricks.git
synced 2025-12-30 10:19:51 -06:00
* add first part of sync service * add actionClasses to js sync * fix errors, add product to sync * rewrite formbricks-js for new states and types * fix tests * fix build errors * add cors * fix cors errors and other bugs * comment test in checks until working again
27 lines
886 B
HTML
27 lines
886 B
HTML
<head>
|
|
<!-- <script src="./dist/index.umd.js" charset="UTF-8"></script>
|
|
<script>
|
|
window.formbricks.init("clehf2m1d0001yz5vysjpn9qf", "http://localhost:3000");
|
|
</script> -->
|
|
|
|
<script type="text/javascript">
|
|
!(function () {
|
|
var t = document.createElement("script");
|
|
(t.type = "text/javascript"), (t.async = !0), (t.src = "/dist/index.umd.js");
|
|
var e = document.getElementsByTagName("script")[0];
|
|
e.parentNode.insertBefore(t, e),
|
|
setTimeout(function () {
|
|
window.formbricks = window.js;
|
|
window.formbricks.init({
|
|
environmentId: "clhkhwyc60003yz5rpgsgrebq",
|
|
apiHost: "http://localhost:3000",
|
|
debug: true,
|
|
});
|
|
}, 500);
|
|
})();
|
|
</script>
|
|
</head>
|
|
<body style="background-color: #fff">
|
|
<p>This is my sample page using the Formbricks JS javascript widget</p>
|
|
</body>
|