question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hi,

In my app the api is on a subdomain: api.example.com. With Ziggy in Vue, the url is outputted as http://example.com/api.example.com. Do you maybe have a solution for this?

Thanks 😃

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:13 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
gizburdtcommented, Nov 12, 2017

Thanks 😃

1reaction
chrisbjrcommented, Nov 12, 2017

Much appreciated @DanielCoulbourne

Read more comments on GitHub >

github_iconTop Results From Across the Web

rest - What are the trade-offs between different methods of ...
What are the trade-offs between different methods of constructing API URLs: subdomain vs. subdirectory and versioning? [closed] · Is there any prior experience ......
Read more >
Best practices for RESTful API design - Ontola
You don't need a subdomain for your API, like api.example.com or a sub-path, like example.com/api . Your endpoint should be the root of...
Read more >
Serving multiple APIs from a domain - Cloud Endpoints
Deploying an API on a subdomain. The following example deploys the API to the subdomain first_api.example.com : Set the host ...
Read more >
API Endpoint Versioning Methods: Sub-domain or Directory?
One of the big advantaged of using a sub-domain is that you can host your API on different servers from your main site....
Read more >
Custom Subdomain For Every App - Backendless
Your subdomain can be used for all API requests, removing the need to include your application ID and API key in the request...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found