skip to Main Content

How to solve problem with Axios post request – SEO

There is such a vue method: methods: { sendTrackerClientData () { return axios.post("https://seo-gmbh.eu/couriertracker/json/couriertracker_api.php?action=tracking.data_save&key_id=00227220201402050613" , { tracking_data: 'some data' }) .then(response => { console.log('post method is working!'); }) .catch(function (error) { console.log(error); }); }, } Which is hung on a button…

VIEW QUESTION

CORS Vue and OctoberCMS – CentOS

Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. I'm building an application with Vue (VueX, vue-router, ...) and OctoberCMS. I create virtual domain for API and APP in local via…

VIEW QUESTION

Vue.js SEO friendly

What's the easiest way to make an already developed Vue app SEO friendly (with all the header meta-tags readable by search engines). I've looked into NUXT, I'll have to re-build the whole thing again, plus i didn't really like the…

VIEW QUESTION

Laravel Get File Contents of Image but Not Working on Production Environment – CentOS

My code bellow working on localhost development <img class="img-fluid rounded-circle" src="{{ url('image?type=user&file='.Auth::user()->picture_file.'&mime='.Auth::user()->picture_mime) }}" alt="Image Description"> will access imageController with get method using this link image?type=user&file=USER000053.png&mime=image/png class ImageController extends BaseController { public function get(Request $request){ $file=Storage::disk($request->type)->get($request->file); return response($file,200)->header('content-Type',$request->mime); } } bellow…

VIEW QUESTION
Back To Top
Search