php cors header added

This commit is contained in:
ed barz 2022-05-16 23:32:49 +02:00
parent d4677f13f5
commit 4c55f620ca
4 changed files with 3 additions and 2 deletions

Binary file not shown.

View File

@ -1,6 +1,6 @@
const dburl = "http://localhost:3000/db"
//const dburl = "http://localhost:3000/db"
//const dburl = "https://ed.brz9.dev/proj/map/asset/json/db.json"
const dburl = "https://ed.brz9.dev/proj/map/asset/json/endpoint/"
Vue.component('Accordeon', {
template : `

View File

@ -1,6 +1,7 @@
<?php
header('Content-type: application/json');
header("Access-Control-Allow-Origin: *");
echo '
{