Skip to content

Commit

Permalink
Merge pull request #3719 from sandstorm-io/docs-ephemeral-urls
Browse files Browse the repository at this point in the history
Docs: Update ephemeral subdomains, remove Oasis link
  • Loading branch information
ocdtrekkie authored Nov 24, 2024
2 parents 7b75d52 + 1cbc92e commit a2094c7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/developing/path.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ option.

* Example grain URL: https://sandstorm.example.com/grain/TPeYUde5rioE5keWM

* Example ephemeral domain URL: https://96cab9109791f1254002ac1f857ecee7.sandstorm.example.com/
* Example ephemeral domain URL: https://ui-96cab9109791f1254002ac1f857ecee7.sandstorm.example.com/

**[Try it now](https://oasis.sandstorm.io/)** by creating a grain and using your
browser's _Inspect Element_ feature to look at the URL of the `IFRAME` element.
Try it by creating a grain and using your browser's _Inspect Element_ feature
to look at the URL of the `IFRAME` element, or open the frame in a new tab.

**If you need a stable domain name**: the app can **expose static HTML content
to a stable domain name** by using the [static web
Expand All @@ -40,7 +40,7 @@ grain. To be specific:

* Example URL: https://sandstorm.example.com/grain/TPeYUde5rioE5keWM/awesomeinfo#section3

* Example ephemeral domain URL: https://96cab9109791f1254002ac1f857ecee7.sandstorm.example.com/awesomeinfo#section3
* Example ephemeral domain URL: https://ui-96cab9109791f1254002ac1f857ecee7.sandstorm.example.com/awesomeinfo#section3

The grain user's web browser will show the grain URL (with the path and fragment) in the address
bar. By default, this URL will not change, even as the user clicks around within the app. To address
Expand All @@ -61,7 +61,7 @@ window.parent.postMessage({'setPath': location.pathname + location.hash}, '*');

This will copy the path and fragment from the grain into the browser's address bar.

* Example ephemeral domain URL: https://96cab9109791f1254002ac1f857ecee7.sandstorm.example.com/foo#bar
* Example ephemeral domain URL: https://ui-96cab9109791f1254002ac1f857ecee7.sandstorm.example.com/foo#bar

* URL: https://sandstorm.example.com/grain/TPeYUde5rioE5keWM/foo#bar

Expand Down

0 comments on commit a2094c7

Please sign in to comment.