domjudge icon indicating copy to clipboard operation
domjudge copied to clipboard

Static scoreboard links should be relative

Open troy2914 opened this issue 2 years ago • 3 comments
trafficstars

seen using 8.3.0DEV/471813069 the /public?static=1 scoreboard emits bits like this:

/favicon.ico
/images/*
/css/*
/style_domjudge.css
/markdown-preview

all those items should be relative (and any others I missed to list). This allows one to use the static website under a subdir, without having to tweak it.

troy2914 avatar May 31 '23 06:05 troy2914

I don’t think we can fix this easily. It might be our zip does do this though, so I will check if that’s the case and next year we use that logic

nickygerritsen avatar May 31 '23 10:05 nickygerritsen

I don’t think we can fix this easily. It might be our zip does do this though, so I will check if that’s the case and next year we use that logic

According to https://symfony.com/doc/current/routing.html we can pass a constant (UrlGeneratorInterface::RELATIVE_PATH) for this, would that give problems @nickygerritsen ?

vmcj avatar Feb 25 '24 21:02 vmcj

We can test this. I’m not sure

nickygerritsen avatar Feb 25 '24 21:02 nickygerritsen