diff --git a/README.md b/README.md index 67eea64..2cfe92d 100644 --- a/README.md +++ b/README.md @@ -210,16 +210,16 @@ Deleting those files will rese Accessing static apps --------------------- -Static apps are stored in `var/sites` +Static apps are stored in `packages/pages` ``` # App ID as files with a list of packages they should load # note that '#' is used in place of '/' because files and folders may not contain '/' in their names -/srv/walnut/var/sites/ # https://domain.tld/path -/srv/walnut/var/sites/ # https://domain.tld and https://domain.tld/foo match +/srv/walnut/packages/pages/ # https://domain.tld/path +/srv/walnut/packages/pages/ # https://domain.tld and https://domain.tld/foo match -# packages are directories with reverse dns name # For the sake of debugging these packages can be accessed directly, without a site by -/srv/walnut/var/sites/ # matches apps./ and /apps/ +# packages are directories with email-style name # For the sake of debugging these packages can be accessed directly, without a site by +/srv/walnut/packages/pages/ # matches apps./ and /apps/ ``` Accessing REST APIs @@ -287,16 +287,19 @@ The permissions: ``` /srv/walnut/packages/ -├── client-api-grants -│ └── cloud.foobar.me -│ ''' -│ hello@example.com # refers to /srv/walnut/packages/rest/hello@example.com -│ ''' -│ +└── client-api-grants + └── cloud.foobar.me + ''' + hello@example.com # refers to /srv/walnut/packages/rest/hello@example.com + ''' +``` + +``` +/srv/walnut/var/ └── sites └── daplie.me ''' - seed@example.com # refers to /srv/walnut/var/sites/seed@example.com + seed@example.com # refers to /srv/walnut/packages/pages/seed@example.com ''' ```