1
0
mirror of git://f0xx.org/android_cast synced 2026-07-29 03:57:50 +03:00

Shared platform footer template for hub and all PHP consoles.

Centralize copyright in examples/platform/footer.config.php, render via
footer.php in crashes/builder/login layouts, and serve hub through index.php.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Anton Afanasyeu
2026-06-02 18:54:13 +02:00
parent f885d194dd
commit 4803caebce
18 changed files with 1313 additions and 1100 deletions

View File

@@ -44,9 +44,20 @@ server {
add_header Cache-Control "public, max-age=60";
}
location = /app/androidcast_project/index.php {
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME /workspace/examples/app_hub/index.php;
fastcgi_param SCRIPT_NAME /app/androidcast_project/index.php;
fastcgi_pass crash-php:9000;
}
location = /app/androidcast_project/ {
rewrite ^ /app/androidcast_project/index.php last;
}
location /app/androidcast_project/ {
alias /workspace/examples/app_hub/;
index index.html;
try_files $uri $uri/ /app/androidcast_project/index.html;
index index.php index.html;
try_files $uri $uri/ =404;
}
}