mirror of
https://github.com/tiennm99/tiennm99.github.io.git
synced 2026-10-11 03:13:44 +00:00
docs: expand README — explain redirect role + Firebase targets
This commit is contained in:
1 parent
0a19e27509
commit
819c555ef3
1 file changed
+17
-1
@@ -1,3 +1,19 @@
|
|||||||
# tiennm99.github.io
|
# tiennm99.github.io
|
||||||
|
|
||||||
Just redirect to my website
|
GitHub Pages default repo for the `tiennm99` user. Serves a one-line client-side redirect to [miti99.com](https://miti99.com).
|
||||||
|
|
||||||
|
## How it works
|
||||||
|
|
||||||
|
`index.html` sets `window.location.hostname = "miti99.com"` — anyone landing at `https://tiennm99.github.io/` gets bounced to the matching path on `miti99.com`.
|
||||||
|
|
||||||
|
## Why so minimal
|
||||||
|
|
||||||
|
The `<user>.github.io` slot is a single naming claim — you only get one per account. This repo exists just to **claim the slot and forward**. The real site lives in [miti99](https://github.com/tiennm99/miti99) (Hugo + Stack theme, hosted at `miti99.com`).
|
||||||
|
|
||||||
|
## Firebase Hosting targets
|
||||||
|
|
||||||
|
`firebase.json` declares 4 hosting targets (`miti99`, `meetee`, `tiennm`, `tiennm99`) sharing the same `public/` directory — so this repo is **also** the source for those Firebase domains when redirecting traffic during migrations.
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
Apache-2.0 — see [LICENSE](LICENSE).
|
||||||
Reference in new issue
Block a user