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

subdomain not validating public paths? #102

Closed
tpalaz opened this issue Apr 29, 2022 · 1 comment
Closed

subdomain not validating public paths? #102

tpalaz opened this issue Apr 29, 2022 · 1 comment

Comments

@tpalaz
Copy link

tpalaz commented Apr 29, 2022

I'm encountering a strange error when trying to load images from a subdomain.

I have followed the exact steps in the repo for middleware, with my own components and pages.

When the server tries to GET an image, it responds with 404 that the image cannot be found.

Request URL: https://app.xxxxxxxxxx.com/favicon.ico
Request Method: GET
Status Code: 404 

Where as on the main domain:

https://xxxxxxxxxx.com/favicon.ico

Resolves without any issues what so ever.

What am I missing here?

@tpalaz
Copy link
Author

tpalaz commented Apr 29, 2022

Managed to figure this out after a lot of head sratching. Running into :
vercel/next.js#36563

👍 incase anyone needs it, it's related to i18n

@tpalaz tpalaz closed this as completed Aug 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant