Added backend and refactored frond-end to support it.
* Removed unecesery home page * Added PHP Api that provides auth and replaces the json-server for data storage * Added support for alternate geocode-api * Added registration page
This commit is contained in:
8
api/config/headers.php
Normal file
8
api/config/headers.php
Normal file
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
//Use for Dev environment
|
||||
/*
|
||||
header("Access-Control-Allow-Origin: http://localhost:5173");
|
||||
header('Access-Control-Allow-Credentials: true');
|
||||
header('Access-Control-Allow-Headers: Content-Type');
|
||||
header('Access-Control-Allow-Methods: GET, POST, OPTIONS,DELETE');
|
||||
*/
|
||||
Reference in New Issue
Block a user