Protect UI with PHP session login and secure APIs. - Add login/logout pages and session auth helper - Serve protected content from index.php - Redirect index.html to index.php to prevent bypass - Require auth for image list/upload APIs Co-authored-by: Cursor <cursoragent@cursor.com>
16 lines
379 B
HTML
16 lines
379 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<meta http-equiv="refresh" content="0; url=/index.php" />
|
|
<title>Redirecting...</title>
|
|
</head>
|
|
<body>
|
|
<script>
|
|
window.location.replace('/index.php');
|
|
</script>
|
|
<a href="/index.php">Continue</a>
|
|
</body>
|
|
</html>
|