Secure url does not generate url with domain name

Venkat Aadithan posted 5 days ago


I'm using secure url secure_url() to generate the doamin url of my application, but i'm getting the localhost url.

Expected result:

Actual output:

Doubt: Do i need to change or configure app_url in .env file.

Azx Ster replied 5 days ago Solution

used it:-


Venkat Aadithan replied 5 days ago

url('/') gives the expected output

Sign in to participate in this thread!

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