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:
@@ -16,9 +16,13 @@ Browser → apps.f0xx.org (Gentoo FE, TLS)
|
||||
|
||||
On FE, hub and (if you fix it) crashes should both target **`http://artc0.intra.raptor.org:80`**, same as `location /`.
|
||||
|
||||
## 1. `index.html` + hub assets
|
||||
## 1. Hub entry (`index.php`) + assets
|
||||
|
||||
Landing uses **`index.php`** (shared footer from `examples/platform/footer.config.php`). Copy **`index.html`** only as a redirect fallback.
|
||||
|
||||
```bash
|
||||
cp .../android_cast/examples/app_hub/index.php \
|
||||
.../htdocs/apps/app/androidcast_project/index.php
|
||||
cp .../android_cast/examples/app_hub/index.html \
|
||||
.../htdocs/apps/app/androidcast_project/index.html
|
||||
cp .../android_cast/examples/app_hub/hub.css \
|
||||
@@ -68,7 +72,7 @@ Use prefix location for the hub (not `alias` to a single file):
|
||||
```nginx
|
||||
location /app/androidcast_project/ {
|
||||
alias /var/www/localhost/htdocs/apps/app/androidcast_project/;
|
||||
index index.html;
|
||||
index index.php index.html;
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user