Fix Flask template path and landing page text

- Configure Flask to look for templates in correct directory
- Change 'Start Free Trial' to 'Start for Free Now!' on landing page
- Fix TemplateNotFound error for register.html and other templates
parent 0ba68b0d
......@@ -409,7 +409,7 @@
<p>Advanced AI video analysis tools designed specifically for adult content creators. Automate scene detection, content moderation, and professional video processing with enterprise-grade accuracy.</p>
<div class="cta-buttons">
<a href="/register" class="btn btn-primary">Start Free Trial</a>
<a href="/register" class="btn btn-primary">Start for Free Now!</a>
<a href="/login" class="btn btn-secondary">Login</a>
</div>
......
......@@ -29,7 +29,7 @@ from .config import get_all_settings, get_allow_registration
from .auth import login_user, logout_user, get_current_user, register_user, confirm_email, require_auth, require_admin
from .database import get_user_tokens, update_user_tokens, get_user_queue_items, get_default_user_tokens
app = Flask(__name__)
app = Flask(__name__, template_folder='../templates')
app.secret_key = os.environ.get('FLASK_SECRET_KEY', 'dev-secret-key-change-in-production')
os.makedirs('static', exist_ok=True)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment