offspot / dashboard

Kiwix Hotspot dashboard (homepage, configuration, ...)
GNU General Public License v3.0
1 stars 0 forks source link

Don‘t use homepage if there's only one content #1

Open rgaudin opened 4 years ago

rgaudin commented 4 years ago

If there is only a single content, whether a package or a ZIM, then the homepage is just an extra, useless, step towards the content.

In this case, a redirection should be made to skip it.

kelson42 commented 4 years ago

Sounds similar to https://github.com/kiwix/kiwix-tools/issues/53

rgaudin commented 4 years ago

Sure, but this is about the hotspot homepage and it wouldn't be serving content from the homepage URL but a standard redirection (avoiding all the technical difficulties mentioned in that ticket)

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.

rgaudin commented 2 years ago

This has nothing to do with the captive portal… this will be done in kiwix-hotspot and/or the home image

kelson42 commented 2 years ago

@rgaudin Where is handled the home? Name of this repository might be slightly misleading. Reopening for the time being, before moving to good repository.

rgaudin commented 2 years ago

Home is not implemented yet. It will be in container-images. This ticket could either be for that image, considering home container will run anyway even for a redirect or it could be for kiwix-hotspot to instruct Caddy to add a redirect instead of running home image.

I suggest you move it back to hotspot with a "v3" label or something or create a new repo for hotspot v3 and move ticket there

kelson42 commented 2 years ago

I have created offspot/dashboard