RaythaHQ / raytha

Raytha is a powerful CMS with an easy-to-use interface and fast performance. It offers custom content types, a template engine, and various access controls. It supports multiple storage providers and an automatically generated REST API. Upgrade your development workflow with Raytha.
MIT License
143 stars 30 forks source link

Specify via env variable if website should redirect elsewhere #146

Closed apexdodge closed 8 months ago

apexdodge commented 8 months ago

Create env variable

REDIRECT_WEBSITE which defaults to empty string.

if this env variable is set with a valid url, it overrides all actions and redirects the user to this url. This is helpful if you are doing maintenance or if you want to disable a website temporarily for non-payment but not deprovision the resources behind it.

Our upcoming Hosted Service will make use of this.

apexdodge commented 8 months ago

Will be released with v1.1.3