Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace window.location.hostname #168

Open
jq1836 opened this issue Oct 14, 2024 · 0 comments
Open

Replace window.location.hostname #168

jq1836 opened this issue Oct 14, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@jq1836
Copy link

jq1836 commented Oct 14, 2024

Overview

window.location.hostname being used to get hostname for backend APIs may not always be found.

Solution

vercel/next.js#61830
or
https://nextjs.org/docs/pages/building-your-application/data-fetching/get-server-side-props

@jq1836 jq1836 added the enhancement New feature or request label Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant