Skip to content

Changed asset paths to relative to dir#2

Open
Lockszmith-GH wants to merge 1 commit intoLukaHarambasic:masterfrom
Lockszmith-Forks4PR:relative
Open

Changed asset paths to relative to dir#2
Lockszmith-GH wants to merge 1 commit intoLukaHarambasic:masterfrom
Lockszmith-Forks4PR:relative

Conversation

@Lockszmith-GH
Copy link
Copy Markdown

Thanks for this one, I really like the dark/light mode trick.

I decided to self host it, but in a subdir, the assets were all pointing to the root path of the hosted website.

This should continue to work as intented regadless of the path on the host.

Assets were all on root, which didn't work from a sub-dir
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

Successfully merging this pull request may close these issues.

1 participant