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

Images path not correct #729

Open
fadi-alkhateeb opened this issue Mar 23, 2024 · 0 comments
Open

Images path not correct #729

fadi-alkhateeb opened this issue Mar 23, 2024 · 0 comments
Labels
question Question asked by a user triage A new issue that needs triage

Comments

@fadi-alkhateeb
Copy link

Package

basic-starter

Ask the question

Hi,

After I finished the guide of get started, I add article with image to test, problem is the image path not correct

image

These are the setting in env.local:

# See https://next-drupal.org/docs/environment-variables
NEXT_PUBLIC_DRUPAL_BASE_URL=http://localhost/y2pro/
NEXT_IMAGE_DOMAIN=localhost

currently the url of image is (http://localhost/y2pro/y2pro/sites/default/files/...) while the correct url should be (http://localhost/y2pro/sites/default/files/...), I don't know from where the extra (/y2pro) came from.

Appreciate your help.

@fadi-alkhateeb fadi-alkhateeb added question Question asked by a user triage A new issue that needs triage labels Mar 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Question asked by a user triage A new issue that needs triage
Projects
None yet
Development

No branches or pull requests

1 participant