Skip to content

Commit

Permalink
BP-3661-Fix: Error 404 on blocks.js #277
Browse files Browse the repository at this point in the history
  • Loading branch information
SandervdHulst committed Jul 30, 2024
1 parent dd36184 commit 36e9422
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 36e9422

Please sign in to comment.