You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Website: Preserve the mode query arg when opening OPFS site (#63)
When opening a non-temporary site, Playground removes all the query args
from the URL to avoid running boot flows again, e.g. preserving
`?blueprint-url=` would confuse the user at best, and corrupt the site
at worst. Problem is, some query args are useful to preserve. For
example, `mode=seamless` hides the "browser UI" and it's confusing when
Playground immediately drops it from the URL.
This PR preserves three benign query args:
* mode
* networking
* login (which only sets a PHP const these days)
## Testing instructions
* Create a new OPFS site
* Open it
* Add
?mode=seamless&networking=yes&login=yes&blueprint-url=https://mysite.com/blueprint.json
to the URL
* Confirm the first three query args were preserved and the
blueprint-url was dropped
0 commit comments