mirror of
https://github.com/Ellpeck/ObsidianJustSharePlease.git
synced 2024-06-02 23:43:37 +02:00
we don't need CORS handling
This commit is contained in:
parent
01e3098b00
commit
fbc0ea0aa2
|
@ -1,7 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
header("Access-Control-Allow-Origin: *");
|
|
||||||
|
|
||||||
switch ($_SERVER["REQUEST_METHOD"]) {
|
switch ($_SERVER["REQUEST_METHOD"]) {
|
||||||
case "GET":
|
case "GET":
|
||||||
handle_get();
|
handle_get();
|
||||||
|
|
Loading…
Reference in a new issue