php cors header added
This commit is contained in:
parent
d4677f13f5
commit
4c55f620ca
Binary file not shown.
|
@ -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/db.json"
|
||||||
|
const dburl = "https://ed.brz9.dev/proj/map/asset/json/endpoint/"
|
||||||
|
|
||||||
Vue.component('Accordeon', {
|
Vue.component('Accordeon', {
|
||||||
template : `
|
template : `
|
||||||
|
|
Binary file not shown.
|
@ -1,6 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
header('Content-type: application/json');
|
header('Content-type: application/json');
|
||||||
|
header("Access-Control-Allow-Origin: *");
|
||||||
|
|
||||||
echo '
|
echo '
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue