Xmahbub
Xmahbub
RRailway
Created by Xmahbub on 4/9/2024 in #✋|help
Troubleshooting Host Retrieval Issues in Next.js Server-Side Middleware
🙏
13 replies
RRailway
Created by Xmahbub on 4/9/2024 in #✋|help
Troubleshooting Host Retrieval Issues in Next.js Server-Side Middleware
The headers function allows you to read the HTTP incoming request headers from a Server Component.headers() can also read: x-real-ip x-forwarded-host x-forwarded-port x-forwarded-proto
13 replies
RRailway
Created by Xmahbub on 4/9/2024 in #✋|help
Troubleshooting Host Retrieval Issues in Next.js Server-Side Middleware
Yes I am checking that using req.headers.get('host') but not getting the original host
13 replies
RRailway
Created by Xmahbub on 4/9/2024 in #✋|help
Troubleshooting Host Retrieval Issues in Next.js Server-Side Middleware
Local host it is working fine
13 replies
RRailway
Created by Xmahbub on 4/9/2024 in #✋|help
Troubleshooting Host Retrieval Issues in Next.js Server-Side Middleware
How can I check the subdomain from server side
13 replies
RRailway
Created by Xmahbub on 4/9/2024 in #✋|help
Troubleshooting Host Retrieval Issues in Next.js Server-Side Middleware
a8cb0ed9-71d4-4e5f-a4d2-0c6aeb0b8e13
13 replies