Skip to content

Commit

Permalink
BP-3661-Fix: Error 404 on blocks.js #277 (#278)
Browse files Browse the repository at this point in the history
  • Loading branch information
SandervdHulst authored Jul 31, 2024
1 parent dd36184 commit 1e52512
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,11 @@ function buckaroo_payment_setup_scripts() {
)
);
}
wp_enqueue_script( 'buckaroo-block-script', 'assets/js/dist/blocks.js', array( 'wp-blocks', 'wp-element' ) );
wp_enqueue_script(
'buckaroo-block-script',
plugin_dir_url( __FILE__ ) . 'assets/js/dist/blocks.js',
array( 'wp-blocks', 'wp-element' )
);
}

function get_type() {
Expand Down

0 comments on commit 1e52512

Please sign in to comment.