Skip to content

Commit

Permalink
Merge pull request #131 from mjaschen/fix/rest-route-namespace
Browse files Browse the repository at this point in the history
Remove trailing slash from REST route namespace
  • Loading branch information
alexander-heimbuch authored May 26, 2024
2 parents b6fa019 + acf72a4 commit 5f29499
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugin/includes/class-podlove-web-player-embed-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ public function registerRoutes()
)
);

register_rest_route($this->plugin_name . '/', 'options',
register_rest_route($this->plugin_name, 'options',
array(
'methods' => 'GET',
'callback' => array($this, 'options'),
Expand Down

0 comments on commit 5f29499

Please sign in to comment.