worker-time-control/README.md

14 lines
270 B
Markdown
Raw Normal View History

2021-10-18 08:54:32 +00:00
# Time tracker
Launch application in development environment.
```
$ php -S 0.0.0.0:9090 -t .
```
2021-10-19 08:52:45 +00:00
Enable CORS on server side
```
header('Access-Control-Allow-Origin: *');
header("Access-Control-Allow-Headers: *");
if($_SERVER['REQUEST_METHOD'] == "OPTIONS") die();
```