Skip to content

Commit

Permalink
headers no cache
Browse files Browse the repository at this point in the history
  • Loading branch information
hannorein committed Nov 8, 2023
1 parent f6b0409 commit e4d12d4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@
const char* reb_server_header =
"HTTP/1.1 200 OK\n"
"Server: REBOUND Webserver\n"
"Cache-Control: no-cache, no-store, must-revalidate\n"
"Pragma: no-cache\n"
"Expires: 0\n"
//"Access-Control-Allow-Origin: *\n"
//"Cross-Origin-Opener-Policy: cross-origin\n"
"Content-type: text/html\n"
Expand Down

0 comments on commit e4d12d4

Please sign in to comment.