hugsy / ctfhub

Where CTFs happen
77 stars 13 forks source link

The toolbar disappear when I visit a challenge page after the first time. #25

Closed DaniloNC closed 3 years ago

DaniloNC commented 3 years ago

The toolbar disappear when I visit a challenge page for the second time.

Toolbar present on my first access: image

Toolbar not present on the second time accessing the page: image

hugsy commented 3 years ago

Need more info (browser ? version ?) but it looks to me it's a bug in hedgedoc not ctfpad. ctfpad does just iframe hedgedoc

hofill commented 2 years ago

I also have this, how did you fix it?

hugsy commented 2 years ago

Add ?both Although this should be fixed now

hofill commented 2 years ago

Add ?both Although this should be fixed now

I tried to add ?both, (http://url.com:8080/#/ctf/1-ctf/task/15-core-problems?both#) but the page didn't change at all for me. I still went to the normal view. I'm using the latest version of Firefox, but I've also tried it on Chrome. Also tried refreshing.

Another thing that could be the issue (IMO) would be me not using ssl?

hugsy commented 2 years ago

Your URL is incorrect (you have 2 #). SSL is not a strict requirement, as long as you have all apps at the same level (all SSL or none SSL). I'd recommend using docker-compose (after customizing it to your own environment of course). It works perfectly this way - without or with SSL (I use letsencrypt for it, no problem).