| @@ -232,9 +232,9 @@ | ||
| 232 | 232 | $is_test_mode = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG; |
| 233 | 233 | } |
| 234 | 234 | |
| 235 | 235 | if ( ! $relative_url ) { |
| 236 | - $relative_url = $this->get_assets_relative_url() . '/'; | |
| 236 | + $relative_url = $this->get_assets_relative_url(); | |
| 237 | 237 | } |
| 238 | 238 | |
| 239 | 239 | $url = $this->get_assets_base_url() . $relative_url . $file_name; |
| 240 | 240 | |
| @@ -295,13 +295,13 @@ | ||
| 295 | 295 | protected function get_assets_relative_url(): string { |
| 296 | 296 | return 'assets/build/'; |
| 297 | 297 | } |
| 298 | 298 | |
| 299 | - public static function routes_list() : array { | |
| 299 | + public static function routes_list(): array { | |
| 300 | 300 | return []; |
| 301 | 301 | } |
| 302 | 302 | |
| 303 | - public static function component_list() : array { | |
| 303 | + public static function component_list(): array { | |
| 304 | 304 | return []; |
| 305 | 305 | } |
| 306 | 306 | |
| 307 | 307 | /** |
| @@ -331,5 +331,4 @@ | ||
| 331 | 331 | $this->add_route( $route_id, new $class_name() ); |
| 332 | 332 | } |
| 333 | 333 | } |
| 334 | 334 | } |
| 335 | - | |