theforumhelpers.github.io icon indicating copy to clipboard operation
theforumhelpers.github.io copied to clipboard

Feature Request: use relative urls

Open jeffalo opened this issue 3 years ago • 27 comments

looking through the source code, there are so many places where stuff points to theforumhelpers.github.io. this makes development tedious. why not just use relative urls like

fetch("/forumhelpers/"+dataSet+".json")

instead of

fetch("https://theforumhelpers.github.io/forumhelpers/"+dataSet+".json")

another example of this was in #152 where some obscure <base> element was used when it could have just been as simple as adding a slash before the paths. like <link rel="stylesheet" type="text/css" href="/resources/stylesheet.css"> instead of <link rel="stylesheet" type="text/css" href="resources/stylesheet.css">

is there a specific development reason not to? this will allow development to be so much easier.

jeffalo avatar May 10 '21 15:05 jeffalo