Use history.replaceState ageVerified query and remove ENABLE_VIEW_TRANSITIONS

This commit is contained in:
Bad Manners 2024-08-26 14:49:12 -03:00
parent 92123a305d
commit f57ba9ddc4
19 changed files with 91 additions and 74 deletions

View file

@ -29,10 +29,9 @@ npm run prettier # Prettier formatting
The following optional environment variable can be set within a `.env` file:
| Name | Type | Description |
| ------------------------- | ------- | ------------------------------------------------------------------------------------------------ |
| `APACHE_CONFIG` | boolean | If set to true, generates an `.htaccess` Apache config file at the root of the output directory. |
| `ENABLE_VIEW_TRANSITIONS` | boolean | If set to true, enables Astro's View Transitions API (i.e. Single-Page App mode). |
| Name | Type | Description |
| --------------- | ------- | ------------------------------------------------------------------------------------------------ |
| `APACHE_CONFIG` | boolean | If set to true, generates an `.htaccess` Apache config file at the root of the output directory. |
### Build and deploy to remote