map: restore CSRF check
parent
36f32da13f
commit
efea8369bd
|
@ -30,8 +30,6 @@ class MapController extends ApiBase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @NoAdminRequired
|
* @NoAdminRequired
|
||||||
*
|
|
||||||
* @NoCSRFRequired
|
|
||||||
*/
|
*/
|
||||||
public function clusters(): JSONResponse
|
public function clusters(): JSONResponse
|
||||||
{
|
{
|
||||||
|
|
|
@ -34,7 +34,7 @@ import { LMap, LTileLayer, LMarker, LPopup, LIcon } from "vue2-leaflet";
|
||||||
import { Icon } from "leaflet";
|
import { Icon } from "leaflet";
|
||||||
|
|
||||||
import { API } from "../../services/API";
|
import { API } from "../../services/API";
|
||||||
import axios from "axios";
|
import axios from "@nextcloud/axios";
|
||||||
|
|
||||||
import "leaflet/dist/leaflet.css";
|
import "leaflet/dist/leaflet.css";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue