Skip to content

Commit

Permalink
Fix plaintext
Browse files Browse the repository at this point in the history
  • Loading branch information
joanhey authored Dec 21, 2024
1 parent 02bd443 commit 36fc10e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions frameworks/PHP/flight/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@
// Plaintext test
Flight::route('/plaintext', function() {
Flight::response()
->header('Content-Type', 'text/plain')
->write('Hello, World!')
->send();
->header('Content-Type', 'text/plain');
echo 'Hello, World!';
});

// DB test
Expand Down

0 comments on commit 36fc10e

Please sign in to comment.