Support the ongoing development of Laravel.io →
posted 9 years ago
Requests
Last updated 2 years ago.
0

environment problem? .env settings wrong?

does it give you correct URL outside of that package?

0

Oh, forget to mention: it's laravel 4.2. Hence no .env settings.

URL is correct everywhere else. If I log URL within the AJAX call (before the return Datatables... stuff) it's also localhost:8489.

0

can you maybe post the AJAX call code? whole of it?

can you also dump/echo which environment you are using? ie prod or staging or local etc.. assuming your app actually DOES have different environments?

0

AJAX call comes directly from datatables;

$('#table').dataTable({
  ordering: true,
  serverSide: true,
  ajax: 'data/get/'
});

App doesn't have different environments.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

nehalist nehalist Joined 24 Feb 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.