Skip to content

Fix wrong images paths #18

@LucJosin

Description

@LucJosin

Description

Using Astro.url:

banner = Astro.url + 'images/banner.png',
icon = Astro.url + 'favicon.ico',
} = Astro.props as Props;

Result:

https://hawapi.theproject.id/try-it/images/banner.png
https://hawapi.theproject.id/try-it/favicon.ico

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions