Skip to content

Commit

Permalink
add cord to api.php for swagger definition
Browse files Browse the repository at this point in the history
  • Loading branch information
sebiboga committed Jul 7, 2024
1 parent 1bb9c4b commit fd3ecd6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions documentation/api.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
header("Access-Control-Allow-Origin: *");
require($_SERVER['DOCUMENT_ROOT'].'/apipeviitorro/vendor/autoload.php');
$openapi = \OpenApi\scan($_SERVER['DOCUMENT_ROOT'].'/apipeviitorro/v1/');
header('Content-Type: application/json');
Expand Down

0 comments on commit fd3ecd6

Please sign in to comment.