Skip to content

Commit

Permalink
fix url
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhruwang committed Oct 14, 2024
1 parent 10bb4db commit 25366b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions formbricks.php
Original file line number Diff line number Diff line change
Expand Up @@ -311,9 +311,9 @@ function formbricks_enqueue_script()
if (!empty($environmentId) && !empty($apiHost)) {
wp_enqueue_script(
'formbricks',
$apiHost . '/api/packages/website',
$apiHost . '/js/formbricks.umd.cjs',
array('jquery'),
'1.0.1',
"3.0.1",
true
);

Expand Down
2 changes: 1 addition & 1 deletion public/class-formbricks-public.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public function enqueue_scripts()
$api_host = get_option('formbricks_api_host');

if (!empty($environment_id) && !empty($api_host)) {
wp_enqueue_script($this->plugin_name, $api_host . '/api/packages/website', array('jquery'), $this->version, false);
wp_enqueue_script($this->plugin_name, $api_host . '/js/formbricks.umd.cjs', array('jquery'), "3.0.1", false);
wp_enqueue_script($this->plugin_name, plugin_dir_url(__FILE__) . 'js/index.js', array('jquery'), $this->version, false);
}
}
Expand Down

0 comments on commit 25366b7

Please sign in to comment.