Skip to content

Commit

Permalink
perf: code improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
Faelayis committed Oct 8, 2024
1 parent bb123cd commit 1e0ee87
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions COM-2305/Project/api/reservation/delete.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php
header("Content-Type: application/json; charset=UTF-8");
header("Access-Control-Allow-Origin: *");
header("Access-Control-Allow-Headers: Content-Type");

include("../connected.php");
include("../../function/reservation/get_enum_values.php");
Expand Down
1 change: 1 addition & 0 deletions COM-2305/Project/api/reservation/get.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php
header("Content-Type: application/json; charset=UTF-8");
header("Access-Control-Allow-Origin: *");
header("Access-Control-Allow-Headers: Content-Type");

include("../connected.php");

Expand Down
1 change: 1 addition & 0 deletions COM-2305/Project/api/reservation/post.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php
header("Content-Type: application/json; charset=UTF-8");
header("Access-Control-Allow-Origin: *");
header("Access-Control-Allow-Headers: Content-Type");

include("../connected.php");

Expand Down

0 comments on commit 1e0ee87

Please sign in to comment.