i get cors error for main request and preflight request after i installed webappassword for nextcloud preflight is ok now with 204 status code but i still get cors error
Access to fetch at 'http://nextcloud_proxy_backend.develop/remote.php/dav/files/admin/' from origin 'http://localhost:8080' has been blocked by CORS policy: Method PROPFIND is not allowed by Access-Control-Allow-Methods in preflight response.
is my vue js code is correct? and could you give me tip for this ?
i tried add header to nginx webserver but still got the same error
i wanna use nextcloud webdav api for my vue js application and get list of files and show in my component . i tried this:
i get cors error for main request and preflight request after i installed webappassword for nextcloud preflight is ok now with 204 status code but i still get cors error
Access to fetch at 'http://nextcloud_proxy_backend.develop/remote.php/dav/files/admin/' from origin 'http://localhost:8080' has been blocked by CORS policy: Method PROPFIND is not allowed by Access-Control-Allow-Methods in preflight response.
is my vue js code is correct? and could you give me tip for this ? i tried add header to nginx webserver but still got the same error